| /xsrc/external/mit/MesaLib/dist/src/amd/common/ |
| H A D | ac_binary.h | 47 unsigned scratch_bytes_per_wave; member in struct:ac_shader_config
|
| H A D | ac_binary.c | 126 conf->scratch_bytes_per_wave = G_00B860_WAVESIZE(scratch_size) * 256 * 4;
|
| H A D | ac_rtld.c | 539 config->scratch_bytes_per_wave = 540 MAX2(config->scratch_bytes_per_wave, c.scratch_bytes_per_wave);
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/common/ |
| H A D | ac_binary.h | 81 unsigned scratch_bytes_per_wave; member in struct:ac_shader_config
|
| H A D | ac_binary.c | 298 conf->scratch_bytes_per_wave = G_00B860_WAVESIZE(wavesize) * 256 * 4;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/ |
| H A D | si_compute.c | 79 out_config->scratch_bytes_per_wave = 162 bool scratch_enabled = shader->config.scratch_bytes_per_wave > 0; 377 scratch_needed = config->scratch_bytes_per_wave * sctx->scratch_waves; 461 config->scratch_bytes_per_wave, 462 config->scratch_bytes_per_wave * 505 config->scratch_bytes_per_wave); 514 config->scratch_bytes_per_wave != 0;
|
| H A D | si_shader.h | 573 unsigned scratch_bytes_per_wave; member in struct:si_shader_config
|
| H A D | si_state_shaders.c | 500 S_00B52C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0); 532 S_00B42C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0); 540 S_00B42C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0); 623 S_00B32C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0)); 930 S_00B22C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0)); 957 S_00B22C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0)); 1120 S_00B12C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0)); 1329 S_00B32C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0)); 3067 if (shader->config.scratch_bytes_per_wave == 0) 3109 return shader ? shader->config.scratch_bytes_per_wave [all...] |
| H A D | si_shader.c | 5123 conf->scratch_bytes_per_wave = 5380 conf->lds_size, conf->scratch_bytes_per_wave, 5417 conf->lds_size, conf->scratch_bytes_per_wave, 6945 if (shader->config.scratch_bytes_per_wave && !is_merged_shader(&ctx)) 8052 shader->config.scratch_bytes_per_wave = 8053 MAX2(shader->config.scratch_bytes_per_wave, 8054 shader->previous_stage->config.scratch_bytes_per_wave);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/ |
| H A D | si_compute.c | 105 out_config->scratch_bytes_per_wave = 193 bool scratch_enabled = shader->config.scratch_bytes_per_wave > 0; 446 scratch_needed = config->scratch_bytes_per_wave * sctx->scratch_waves; 523 sctx->scratch_waves, config->scratch_bytes_per_wave, 524 config->scratch_bytes_per_wave * sctx->scratch_waves); 553 MAX2(sctx->max_seen_compute_scratch_bytes_per_wave, config->scratch_bytes_per_wave); 562 sctx->cs_shader_state.uses_scratch = config->scratch_bytes_per_wave != 0;
|
| H A D | si_state_draw.cpp | 315 scratch_size = MAX2(scratch_size, sctx->shader.vs.current->config.scratch_bytes_per_wave); 317 scratch_size = MAX2(scratch_size, sctx->queued.named.hs->config.scratch_bytes_per_wave); 321 scratch_size = MAX2(scratch_size, sctx->shader.tes.current->config.scratch_bytes_per_wave); 323 scratch_size = MAX2(scratch_size, sctx->shader.gs.current->config.scratch_bytes_per_wave); 325 scratch_size = MAX2(scratch_size, sctx->shader.tes.current->config.scratch_bytes_per_wave); 329 scratch_size = MAX2(scratch_size, sctx->shader.vs.current->config.scratch_bytes_per_wave); 331 scratch_size = MAX2(scratch_size, sctx->shader.gs.current->config.scratch_bytes_per_wave); 333 scratch_size = MAX2(scratch_size, sctx->shader.vs.current->config.scratch_bytes_per_wave); 336 scratch_size = MAX2(scratch_size, sctx->shader.ps.current->config.scratch_bytes_per_wave);
|
| H A D | si_state_shaders.c | 360 shader->config.scratch_bytes_per_wave || 548 S_00B52C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0); 572 S_00B42C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0); 584 S_00B42C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0); 664 S_00B32C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0)); 932 S_00B22C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0); 975 S_00B22C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0)); 1214 shader->config.scratch_bytes_per_wave > 0, 1228 S_00B22C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0) | 1494 shader->config.scratch_bytes_per_wave > [all...] |
| H A D | si_shader.c | 1023 conf->lds_size, conf->scratch_bytes_per_wave, shader->info.max_simd_waves, 1055 conf->lds_size, conf->scratch_bytes_per_wave, shader->info.max_simd_waves); 1508 if (shader->config.scratch_bytes_per_wave && !si_is_merged_shader(shader)) 2081 shader->config.scratch_bytes_per_wave = 2082 MAX2(shader->config.scratch_bytes_per_wave, 2083 shader->previous_stage->config.scratch_bytes_per_wave);
|
| H A D | si_shader_llvm_gs.c | 531 if (!ctx.shader->config.scratch_bytes_per_wave)
|
| H A D | si_sqtt.c | 1018 record->shader_data[gl_shader_stage].scratch_memory_size = shader->config.scratch_bytes_per_wave;
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/ |
| H A D | radv_shader.c | 455 bool scratch_enabled = variant->config.scratch_bytes_per_wave > 0; 812 conf->lds_size, conf->scratch_bytes_per_wave, 884 statistics.resourceUsage.scratchMemUsageInBytes = conf->scratch_bytes_per_wave;
|
| H A D | radv_pipeline.c | 146 unsigned scratch_bytes_per_wave = 0; local in function:radv_pipeline_scratch_init 154 scratch_bytes_per_wave = MAX2(scratch_bytes_per_wave, 155 pipeline->shaders[i]->config.scratch_bytes_per_wave); 171 if (scratch_bytes_per_wave) 172 max_waves = MIN2(max_waves, 0xffffffffu / scratch_bytes_per_wave); 174 if (scratch_bytes_per_wave && max_waves < min_waves) { 179 pipeline->scratch_bytes_per_wave = scratch_bytes_per_wave; 3495 S_0286E8_WAVESIZE(pipeline->scratch_bytes_per_wave >> 1 [all...] |
| H A D | radv_private.h | 1411 unsigned scratch_bytes_per_wave; member in struct:radv_pipeline
|
| /xsrc/external/mit/MesaLib/dist/src/amd/compiler/ |
| H A D | aco_spill.cpp | 1648 ctx.program->config->scratch_bytes_per_wave / ctx.program->wave_size + 1654 : ctx.program->config->scratch_bytes_per_wave / ctx.program->wave_size; 1659 add_offset_to_sgpr ? ctx.program->config->scratch_bytes_per_wave : 0; 1735 ctx.program->config->scratch_bytes_per_wave / ctx.program->wave_size + 1741 : ctx.program->config->scratch_bytes_per_wave / ctx.program->wave_size; 1746 add_offset_to_sgpr ? ctx.program->config->scratch_bytes_per_wave : 0; 1816 ctx.program->config->scratch_bytes_per_wave +=
|
| H A D | aco_instruction_selection_setup.cpp | 911 ctx.program->config->scratch_bytes_per_wave = align(scratch_size * ctx.program->wave_size, 1024);
|
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/ |
| H A D | radv_pipeline.c | 244 unsigned scratch_bytes_per_wave = 0; local in function:radv_pipeline_init_scratch 248 if (pipeline->shaders[i] && pipeline->shaders[i]->config.scratch_bytes_per_wave) { 251 scratch_bytes_per_wave = 252 MAX2(scratch_bytes_per_wave, pipeline->shaders[i]->config.scratch_bytes_per_wave); 261 pipeline->scratch_bytes_per_wave = scratch_bytes_per_wave; 4458 shader->config.scratch_bytes_per_wave > 0, &late_alloc_wave64, &cu_mask); 4621 shader->config.scratch_bytes_per_wave > 0, &late_alloc_wave64, &cu_mask); 6050 s->value.u64 = shader->config.scratch_bytes_per_wave; [all...] |
| H A D | radv_shader.c | 1326 bool scratch_enabled = config_in->scratch_bytes_per_wave > 0; 2226 statistics.resourceUsage.scratchMemUsageInBytes = conf->scratch_bytes_per_wave;
|
| H A D | radv_cmd_buffer.c | 1316 MAX2(cmd_buffer->scratch_size_per_wave_needed, pipeline->scratch_bytes_per_wave); 4836 MAX2(cmd_buffer->compute_scratch_size_per_wave_needed, pipeline->scratch_bytes_per_wave); 7255 unsigned scratch_bytes_per_wave = 0; local in function:radv_set_rt_stack_size 7258 scratch_bytes_per_wave = cmd_buffer->state.rt_pipeline->scratch_bytes_per_wave; 7263 scratch_bytes_per_wave += align(size * wave_size, 1024); 7266 MAX2(cmd_buffer->compute_scratch_size_per_wave_needed, scratch_bytes_per_wave);
|
| H A D | radv_private.h | 1843 unsigned scratch_bytes_per_wave; member in struct:radv_pipeline
|
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/layers/ |
| H A D | radv_sqtt_layer.c | 886 record->shader_data[i].scratch_memory_size = shader->config.scratch_bytes_per_wave;
|