Home
last modified time | relevance | path

Searched refs:MESA_SHADER_COMPUTE (Results 1 – 25 of 178) sorted by relevance

12345678

/third_party/mesa3d/src/mesa/main/
Dshaderobj.h140 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()
Dcompute.c51 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/
Dstandalone.cpp145 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()
Dstandalone_scaffolding.cpp261 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/
Diris_draw.c293 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()
Diris_pipe.h38 [PIPE_SHADER_COMPUTE] = MESA_SHADER_COMPUTE, in stage_from_pipe()
52 [MESA_SHADER_COMPUTE] = PIPE_SHADER_COMPUTE, in stage_to_pipe()
Diris_binder.c194 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/
Dcrocus_pipe.h38 [PIPE_SHADER_COMPUTE] = MESA_SHADER_COMPUTE, in stage_from_pipe()
52 [MESA_SHADER_COMPUTE] = PIPE_SHADER_COMPUTE, in stage_to_pipe()
Dcrocus_draw.c425 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/
Dtgsi_from_mesa.h75 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/
Dir3_assembler.c37 shader->type = MESA_SHADER_COMPUTE; in ir3_parse_asm()
41 v->type = MESA_SHADER_COMPUTE; in ir3_parse_asm()
Dir3_nir.c123 (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/
Dcmdline.c55 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/
Dprogram.h114 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/
Dsi_shaderlib_nir.c46 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/
Dbrw_compiler.c129 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()
Dbrw_rt.h244 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/
Dst_atom_atomicbuf.c151 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/
Dshader_enums.h55 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)
Dshader_enums.c45 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/
Dd3d12_compute_transforms.cpp37 …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/
Dir3_cmdline.c170 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/
Dfd6_emit.h228 case MESA_SHADER_COMPUTE: in fd6_geom_stage()
256 case MESA_SHADER_COMPUTE: in fd6_stage2shadersb()
/third_party/mesa3d/src/intel/vulkan/
Danv_nir_compute_push_layout.c88 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/
Dcffdec.c1279 [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 …]

12345678