Home
last modified time | relevance | path

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

1234

/external/mesa3d/src/mesa/main/
Dshaderobj.h136 return MESA_SHADER_COMPUTE; in _mesa_shader_enum_to_shader_stage()
154 case MESA_SHADER_COMPUTE: in _mesa_shader_stage_to_subroutine_prefix()
176 return MESA_SHADER_COMPUTE; in _mesa_shader_stage_from_subroutine_uniform()
196 return MESA_SHADER_COMPUTE; in _mesa_shader_stage_from_subroutine()
215 case MESA_SHADER_COMPUTE: in _mesa_shader_stage_to_subroutine()
237 case MESA_SHADER_COMPUTE: in _mesa_shader_stage_to_subroutine_uniform()
Dcompute.c44 if (ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE] == NULL) { in check_valid_to_compute()
91 struct gl_program *prog = ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in validate_DispatchCompute()
117 struct gl_program *prog = ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in validate_DispatchComputeGroupSizeARB()
236 struct gl_program *prog = ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in valid_dispatch_indirect()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_cs.c139 (struct brw_program *) brw->programs[MESA_SHADER_COMPUTE]; in brw_cs_populate_key()
158 (struct brw_program *) brw->programs[MESA_SHADER_COMPUTE]; in brw_upload_cs_prog()
177 if (brw_disk_cache_upload_program(brw, MESA_SHADER_COMPUTE)) in brw_upload_cs_prog()
180 cp = (struct brw_program *) brw->programs[MESA_SHADER_COMPUTE]; in brw_upload_cs_prog()
Dbrw_disk_cache.c143 case MESA_SHADER_COMPUTE: in read_and_upload()
222 case MESA_SHADER_COMPUTE: in read_and_upload()
394 brw->ctx._Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in brw_disk_cache_write_compute_program()
402 MESA_SHADER_COMPUTE); in brw_disk_cache_write_compute_program()
/external/mesa3d/src/compiler/glsl/
Dstandalone.cpp156 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxTextureImageUnits = 16; in initialize_context()
157 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxUniformComponents = 1024; in initialize_context()
158 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxCombinedUniformComponents = 1024; in initialize_context()
159 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxInputComponents = 0; /* not used */ in initialize_context()
160 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxOutputComponents = 0; /* not used */ in initialize_context()
161 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxAtomicBuffers = 8; in initialize_context()
162 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxAtomicCounters = 8; in initialize_context()
163 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxImageUniforms = 8; in initialize_context()
164 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxUniformBlocks = 12; in initialize_context()
Dstandalone_scaffolding.cpp240 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxTextureImageUnits = 16; in initialize_context_to_defaults()
241 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxUniformComponents = 1024; in initialize_context_to_defaults()
242 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxInputComponents = 0; /* not used */ in initialize_context_to_defaults()
243 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxOutputComponents = 0; /* not used */ in initialize_context_to_defaults()
Dstandalone_scaffolding.h93 return MESA_SHADER_COMPUTE; in _mesa_shader_enum_to_shader_stage()
Dglsl_parser_extras.cpp133 this->Const.MaxComputeAtomicCounters = ctx->Const.Program[MESA_SHADER_COMPUTE].MaxAtomicCounters; in _mesa_glsl_parse_state()
147 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxAtomicBuffers; in _mesa_glsl_parse_state()
163 …this->Const.MaxComputeTextureImageUnits = ctx->Const.Program[MESA_SHADER_COMPUTE].MaxTextureImageU… in _mesa_glsl_parse_state()
164 …this->Const.MaxComputeUniformComponents = ctx->Const.Program[MESA_SHADER_COMPUTE].MaxUniformCompon… in _mesa_glsl_parse_state()
174 this->Const.MaxComputeImageUniforms = ctx->Const.Program[MESA_SHADER_COMPUTE].MaxImageUniforms; in _mesa_glsl_parse_state()
1705 if (shader->Stage != MESA_SHADER_COMPUTE) { in set_shader_inout_layout()
1818 case MESA_SHADER_COMPUTE: in set_shader_inout_layout()
1961 if (state->stage == MESA_SHADER_COMPUTE && !state->has_compute_shader()) { in do_late_parsing_checks()
/external/mesa3d/src/mesa/program/
Dprogram.h131 return MESA_SHADER_COMPUTE; in _mesa_program_enum_to_shader_stage()
153 case MESA_SHADER_COMPUTE: in _mesa_shader_stage_to_program()
/external/mesa3d/src/compiler/
Dshader_enums.c45 ENUM(MESA_SHADER_COMPUTE), in gl_shader_stage_name()
62 case MESA_SHADER_COMPUTE: return "compute"; in _mesa_shader_stage_to_string()
81 case MESA_SHADER_COMPUTE: return "CS"; in _mesa_shader_stage_to_abbrev()
Dshader_enums.h48 MESA_SHADER_COMPUTE = 5, enumerator
65 #define MESA_SHADER_STAGES (MESA_SHADER_COMPUTE + 1)
/external/mesa3d/src/intel/compiler/
Dbrw_compiler.c129 compiler->scalar_stage[MESA_SHADER_COMPUTE] = true; in brw_compiler_create()
176 STATIC_ASSERT(MESA_SHADER_COMPUTE == 5); in brw_prog_data_size()
Dbrw_nir_lower_cs_intrinsics.c136 assert(nir->info.stage == MESA_SHADER_COMPUTE); in brw_nir_lower_cs_intrinsics()
/external/mesa3d/src/amd/vulkan/
Dradv_debug.c466 MESA_SHADER_COMPUTE, waves, num_waves, f); in radv_dump_annotated_shaders()
530 radv_dump_shader(pipeline, compute_shader, MESA_SHADER_COMPUTE, f); in radv_dump_shaders()
538 compute_pipeline ? compute_pipeline->shaders[MESA_SHADER_COMPUTE] : NULL; in radv_dump_graphics_state()
555 compute_pipeline->shaders[MESA_SHADER_COMPUTE], f); in radv_dump_compute_state()
557 compute_pipeline->shaders[MESA_SHADER_COMPUTE], in radv_dump_compute_state()
Dradv_pipeline.c125 if (pipeline->shaders[MESA_SHADER_COMPUTE]) { in radv_pipeline_scratch_init()
126 unsigned group_size = pipeline->shaders[MESA_SHADER_COMPUTE]->info.cs.block_size[0] * in radv_pipeline_scratch_init()
127 pipeline->shaders[MESA_SHADER_COMPUTE]->info.cs.block_size[1] * in radv_pipeline_scratch_init()
128 pipeline->shaders[MESA_SHADER_COMPUTE]->info.cs.block_size[2]; in radv_pipeline_scratch_init()
1900 if (!modules[MESA_SHADER_FRAGMENT] && !modules[MESA_SHADER_COMPUTE]) { in radv_create_shaders()
2083 case MESA_SHADER_COMPUTE: in radv_pipeline_stage_to_user_data_0()
2799 pStages[MESA_SHADER_COMPUTE] = &pCreateInfo->stage; in radv_compute_pipeline_create()
2802 …pipeline->user_data_0[MESA_SHADER_COMPUTE] = radv_pipeline_stage_to_user_data_0(pipeline, MESA_SHA… in radv_compute_pipeline_create()
2803 …pipeline->need_indirect_descriptor_sets |= pipeline->shaders[MESA_SHADER_COMPUTE]->info.need_indir… in radv_compute_pipeline_create()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_from_mesa.h64 case MESA_SHADER_COMPUTE: in pipe_shader_type_from_mesa()
/external/mesa3d/src/intel/vulkan/
Danv_pipeline.c92 [MESA_SHADER_COMPUTE] = DEBUG_CS,
362 if (stage != MESA_SHADER_COMPUTE) { in anv_pipeline_hash_shader()
405 if (stage != MESA_SHADER_COMPUTE) in anv_pipeline_compile()
408 if (stage == MESA_SHADER_COMPUTE) in anv_pipeline_compile()
444 if (stage != MESA_SHADER_COMPUTE) in anv_pipeline_compile()
1002 MESA_SHADER_COMPUTE, spec_info, in anv_pipeline_compile_cs()
1021 MESA_SHADER_COMPUTE, spec_info, in anv_pipeline_compile_cs()
1051 anv_pipeline_add_compiled_stage(pipeline, MESA_SHADER_COMPUTE, bin); in anv_pipeline_compile_cs()
/external/mesa3d/src/broadcom/common/
Dv3d_debug.c67 [MESA_SHADER_COMPUTE] = V3D_DEBUG_CS, in v3d_debug_flag_for_shader_stage()
/external/mesa3d/src/intel/common/
Dgen_debug.c100 [MESA_SHADER_COMPUTE] = DEBUG_CS, in intel_debug_flag_for_shader_stage()
/external/mesa3d/src/mesa/state_tracker/
Dst_shader_cache.c97 case MESA_SHADER_COMPUTE: { in st_serialise_tgsi_program()
245 case MESA_SHADER_COMPUTE: { in st_deserialise_tgsi_program()
Dst_cb_compute.c44 ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in st_dispatch_compute_common()
Dst_atom_storagebuf.c138 st->ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in st_bind_cs_ssbos()
Dst_atom_atomicbuf.c131 st->ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE]; in st_bind_cs_atomics()
Dst_extensions.c183 pc = &c->Program[MESA_SHADER_COMPUTE]; in st_init_limits()
184 options = &c->ShaderCompilerOptions[MESA_SHADER_COMPUTE]; in st_init_limits()
338 c->Program[MESA_SHADER_COMPUTE].MaxTextureImageUnits, in st_init_limits()
412 c->Program[MESA_SHADER_COMPUTE].MaxUniformBlocks; in st_init_limits()
478 c->Program[MESA_SHADER_COMPUTE].MaxImageUniforms; in st_init_limits()
/external/mesa3d/prebuilt-intermediates/main/
Dget_hash.h319 …{ GL_MAX_COMPUTE_UNIFORM_BLOCKS, CONTEXT_INT(Const.Program[MESA_SHADER_COMPUTE].MaxUniformBlocks),…
320 …{ GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS, CONTEXT_INT(Const.Program[MESA_SHADER_COMPUTE].MaxTextureIma…
321 …{ GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS, CONTEXT_INT(Const.Program[MESA_SHADER_COMPUTE].MaxAtomicB…
322 …{ GL_MAX_COMPUTE_ATOMIC_COUNTERS, CONTEXT_INT(Const.Program[MESA_SHADER_COMPUTE].MaxAtomicCounters…
324 …{ GL_MAX_COMPUTE_UNIFORM_COMPONENTS, CONTEXT_INT(Const.Program[MESA_SHADER_COMPUTE].MaxUniformComp…
325 …{ GL_MAX_COMPUTE_IMAGE_UNIFORMS, CONTEXT_INT(Const.Program[MESA_SHADER_COMPUTE].MaxImageUniforms),…
327 …{ GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS, CONTEXT_INT(Const.Program[MESA_SHADER_COMPUTE].MaxCo…
339 …{ GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS, CONTEXT_INT(Const.Program[MESA_SHADER_COMPUTE].MaxShaderSt…

1234