/third_party/mesa3d/src/mesa/main/ |
D | shaderobj.h | 140 return MESA_SHADER_COMPUTE; in _mesa_shader_enum_to_shader_stage() 158 case MESA_SHADER_COMPUTE: in _mesa_shader_stage_to_subroutine_prefix() 180 return MESA_SHADER_COMPUTE; in _mesa_shader_stage_from_subroutine_uniform() 200 return MESA_SHADER_COMPUTE; in _mesa_shader_stage_from_subroutine() 220 case MESA_SHADER_COMPUTE: in _mesa_shader_stage_to_subroutine() 241 case MESA_SHADER_COMPUTE: in _mesa_shader_stage_to_subroutine_uniform()
|
D | compute.c | 51 if (ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE] == NULL) { in check_valid_to_compute() 98 struct gl_program *prog = ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in validate_DispatchCompute() 121 struct gl_program *prog = ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in validate_DispatchComputeGroupSizeARB() 277 struct gl_program *prog = ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in valid_dispatch_indirect() 329 ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in dispatch_compute() 374 ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in dispatch_compute_indirect()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | standalone.cpp | 145 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxTextureImageUnits = 16; in initialize_context() 146 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxUniformComponents = 1024; in initialize_context() 147 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxCombinedUniformComponents = 1024; in initialize_context() 148 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxInputComponents = 0; /* not used */ in initialize_context() 149 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxOutputComponents = 0; /* not used */ in initialize_context() 150 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxAtomicBuffers = 8; in initialize_context() 151 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxAtomicCounters = 8; in initialize_context() 152 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxImageUniforms = 8; in initialize_context() 153 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxUniformBlocks = 12; in initialize_context() 434 for (unsigned i = MESA_SHADER_VERTEX; i <= MESA_SHADER_COMPUTE; i++) { in standalone_compile_shader()
|
D | standalone_scaffolding.cpp | 261 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxTextureImageUnits = 16; in initialize_context_to_defaults() 262 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxUniformComponents = 1024; in initialize_context_to_defaults() 263 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxInputComponents = 0; /* not used */ in initialize_context_to_defaults() 264 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxOutputComponents = 0; /* not used */ in initialize_context_to_defaults()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_draw.c | 293 for (gl_shader_stage stage = 0; stage < MESA_SHADER_COMPUTE; stage++) { in iris_draw_vbo() 302 for (gl_shader_stage stage = 0; stage < MESA_SHADER_COMPUTE; stage++) in iris_draw_vbo() 334 const struct iris_compiled_shader *shader = ice->shaders.prog[MESA_SHADER_COMPUTE]; in iris_update_grid_size_resource() 396 iris_predraw_resolve_inputs(ice, batch, NULL, MESA_SHADER_COMPUTE, false); in iris_launch_grid() 399 iris_predraw_flush_buffers(ice, batch, MESA_SHADER_COMPUTE); in iris_launch_grid() 408 ice->state.shaders[MESA_SHADER_COMPUTE].sysvals_need_upload = true; in iris_launch_grid() 414 ice->state.shaders[MESA_SHADER_COMPUTE].sysvals_need_upload = true; in iris_launch_grid()
|
D | iris_pipe.h | 38 [PIPE_SHADER_COMPUTE] = MESA_SHADER_COMPUTE, in stage_from_pipe() 52 [MESA_SHADER_COMPUTE] = PIPE_SHADER_COMPUTE, in stage_to_pipe()
|
D | iris_binder.c | 194 ice->shaders.prog[MESA_SHADER_COMPUTE]; in iris_binder_reserve_compute() 201 binder->bt_offset[MESA_SHADER_COMPUTE] = iris_binder_reserve(ice, size); in iris_binder_reserve_compute()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_pipe.h | 38 [PIPE_SHADER_COMPUTE] = MESA_SHADER_COMPUTE, in stage_from_pipe() 52 [MESA_SHADER_COMPUTE] = PIPE_SHADER_COMPUTE, in stage_to_pipe()
|
D | crocus_draw.c | 425 for (gl_shader_stage stage = 0; stage < MESA_SHADER_COMPUTE; stage++) { in crocus_draw_vbo() 453 const struct crocus_compiled_shader *shader = ice->shaders.prog[MESA_SHADER_COMPUTE]; in crocus_update_grid_size_resource() 498 MESA_SHADER_COMPUTE, false); in crocus_launch_grid() 508 ice->state.shaders[MESA_SHADER_COMPUTE].sysvals_need_upload = true; in crocus_launch_grid()
|
/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_from_mesa.h | 75 case MESA_SHADER_COMPUTE: in pipe_shader_type_from_mesa() 92 case PIPE_SHADER_COMPUTE: return MESA_SHADER_COMPUTE; in tgsi_processor_to_shader_stage()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_assembler.c | 37 shader->type = MESA_SHADER_COMPUTE; in ir3_parse_asm() 41 v->type = MESA_SHADER_COMPUTE; in ir3_parse_asm()
|
D | ir3_nir.c | 123 (s->info.stage == MESA_SHADER_COMPUTE) || in ir3_optimize_loop() 469 if ((s->info.stage == MESA_SHADER_COMPUTE) || in ir3_nir_post_finalize() 490 if (s->info.stage != MESA_SHADER_COMPUTE && in ir3_nir_post_finalize() 514 if ((s->info.stage == MESA_SHADER_COMPUTE) || in ir3_nir_post_finalize() 894 assert(shader->info.stage == MESA_SHADER_COMPUTE || in ir3_nir_scan_driver_consts() 896 enum ir3_driver_param size = shader->info.stage == MESA_SHADER_COMPUTE ? in ir3_nir_scan_driver_consts() 923 shader->info.stage == MESA_SHADER_COMPUTE) { in ir3_nir_scan_driver_consts() 981 if (v->type == MESA_SHADER_COMPUTE || in ir3_setup_const_state()
|
/third_party/mesa3d/src/panfrost/bifrost/ |
D | cmdline.c | 55 return MESA_SHADER_COMPUTE; in filename_to_stage() 121 nir_shader *nir[MESA_SHADER_COMPUTE + 1]; in compile_shader() 122 unsigned shader_types[MESA_SHADER_COMPUTE + 1]; in compile_shader() 124 if (stages > MESA_SHADER_COMPUTE) { in compile_shader()
|
/third_party/mesa3d/src/mesa/program/ |
D | program.h | 114 return MESA_SHADER_COMPUTE; in _mesa_program_enum_to_shader_stage() 136 case MESA_SHADER_COMPUTE: in _mesa_shader_stage_to_program()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shaderlib_nir.c | 46 case MESA_SHADER_COMPUTE: { in create_shader_state() 91 nir_builder b = nir_builder_init_simple_shader(MESA_SHADER_COMPUTE, options, "copy_image_cs"); in si_create_copy_image_cs() 144 nir_builder b = nir_builder_init_simple_shader(MESA_SHADER_COMPUTE, options, "dcc_retile"); in si_create_dcc_retile_cs() 192 nir_builder b = nir_builder_init_simple_shader(MESA_SHADER_COMPUTE, options, "clear_dcc_msaa"); in gfx9_create_clear_dcc_msaa_cs() 240 nir_builder_init_simple_shader(MESA_SHADER_COMPUTE, options, "clear_buffer_rmw_cs"); in si_create_clear_buffer_rmw_cs()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_compiler.c | 129 i == MESA_SHADER_FRAGMENT || i == MESA_SHADER_COMPUTE; in brw_compiler_create() 245 [MESA_SHADER_COMPUTE] = sizeof(struct brw_cs_prog_data), in brw_prog_data_size() 269 [MESA_SHADER_COMPUTE] = sizeof(struct brw_cs_prog_key), in brw_prog_key_size()
|
D | brw_rt.h | 244 uint32_t max_eu_id = devinfo->max_scratch_ids[MESA_SHADER_COMPUTE]; in brw_rt_ray_queries_hw_stacks_size() 255 uint32_t max_eu_id = devinfo->max_scratch_ids[MESA_SHADER_COMPUTE]; in brw_rt_ray_queries_shadow_stack_size()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atom_atomicbuf.c | 151 st->ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in st_bind_cs_atomics() 153 st_bind_atomics(st, prog, MESA_SHADER_COMPUTE); in st_bind_cs_atomics()
|
/third_party/mesa3d/src/compiler/ |
D | shader_enums.h | 55 MESA_SHADER_COMPUTE = 5, enumerator 74 return stage == MESA_SHADER_COMPUTE || stage == MESA_SHADER_KERNEL; in gl_shader_stage_is_compute() 87 return stage == MESA_SHADER_COMPUTE || in gl_shader_stage_uses_workgroup() 141 #define MESA_SHADER_STAGES (MESA_SHADER_COMPUTE + 1)
|
D | shader_enums.c | 45 ENUM(MESA_SHADER_COMPUTE), in gl_shader_stage_name() 71 case MESA_SHADER_COMPUTE: return "compute"; in _mesa_shader_stage_to_string() 99 case MESA_SHADER_COMPUTE: return "CS"; in _mesa_shader_stage_to_abbrev()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_compute_transforms.cpp | 37 …nir_builder b = nir_builder_init_simple_shader(MESA_SHADER_COMPUTE, options, "TransformIndirectDra… in get_indirect_draw_base_vertex_transform() 106 …nir_builder b = nir_builder_init_simple_shader(MESA_SHADER_COMPUTE, options, "FakeSOBufferCopyBack… in get_fake_so_buffer_copy_back() 158 …nir_builder b = nir_builder_init_simple_shader(MESA_SHADER_COMPUTE, options, "FakeSOBufferVertexCo… in get_fake_so_buffer_vertex_count() 191 nir_builder b = nir_builder_init_simple_shader(MESA_SHADER_COMPUTE, options, "DrawAuto"); in get_draw_auto()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_cmdline.c | 170 case MESA_SHADER_COMPUTE: in load_glsl() 334 stage = MESA_SHADER_COMPUTE; in main() 346 stage = MESA_SHADER_COMPUTE; in main()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_emit.h | 228 case MESA_SHADER_COMPUTE: in fd6_geom_stage() 256 case MESA_SHADER_COMPUTE: in fd6_stage2shadersb()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_nir_compute_push_layout.c | 88 has_const_ubo && nir->info.stage != MESA_SHADER_COMPUTE && in anv_nir_compute_push_layout() 105 if (nir->info.stage == MESA_SHADER_COMPUTE && devinfo->verx10 < 125) { in anv_nir_compute_push_layout()
|
/third_party/mesa3d/src/freedreno/decode/ |
D | cffdec.c | 1279 [0x5][0] = {MESA_SHADER_COMPUTE, TEX_SAMP}, in _get_state_type() 1280 [0x5][1] = {MESA_SHADER_COMPUTE, TEX_CONST}, in _get_state_type() 1281 [0x5][2] = {MESA_SHADER_COMPUTE, UBO}, in _get_state_type() 1303 [0xd][0] = {MESA_SHADER_COMPUTE, SHADER_PROG}, in _get_state_type() 1304 [0xd][1] = {MESA_SHADER_COMPUTE, SHADER_CONST}, in _get_state_type() 1305 [0xd][2] = {MESA_SHADER_COMPUTE, UBO}, in _get_state_type() 1306 [0xd][3] = {MESA_SHADER_COMPUTE, SSBO_0}, /* a6xx location */ in _get_state_type() 1312 [0xf][0] = {MESA_SHADER_COMPUTE, SSBO_0}, in _get_state_type() 1313 [0xf][1] = {MESA_SHADER_COMPUTE, SSBO_1}, in _get_state_type() 1314 [0xf][2] = {MESA_SHADER_COMPUTE, SSBO_2}, in _get_state_type() [all …]
|