/third_party/mesa3d/src/compiler/glsl/ |
D | ir_set_program_inouts.cpp | 47 gl_shader_stage shader_stage) in ir_set_program_inouts_visitor() argument 50 this->shader_stage = shader_stage; in ir_set_program_inouts_visitor() 67 gl_shader_stage shader_stage; member in __anon6097a41f0111::ir_set_program_inouts_visitor 153 if (this->shader_stage == MESA_SHADER_GEOMETRY && in mark_whole_variable() 158 if (this->shader_stage == MESA_SHADER_TESS_CTRL && in mark_whole_variable() 164 if (this->shader_stage == MESA_SHADER_TESS_CTRL && in mark_whole_variable() 170 if (this->shader_stage == MESA_SHADER_TESS_EVAL && in mark_whole_variable() 176 if (this->shader_stage == MESA_SHADER_VERTEX && in mark_whole_variable() 181 this->shader_stage); in mark_whole_variable() 217 if (this->shader_stage == MESA_SHADER_GEOMETRY && in try_mark_partial_variable() [all …]
|
D | lower_distance.cpp | 61 explicit lower_distance_visitor(gl_shader_stage shader_stage, in lower_distance_visitor() argument 66 new_distance_in_var(NULL), shader_stage(shader_stage), in lower_distance_visitor() 71 explicit lower_distance_visitor(gl_shader_stage shader_stage, in lower_distance_visitor() argument 80 shader_stage(shader_stage), in lower_distance_visitor() 125 const gl_shader_stage shader_stage; member in __anon3ae783b40111::lower_distance_visitor 178 this->shader_stage == MESA_SHADER_FRAGMENT) || in visit() 180 (this->shader_stage == MESA_SHADER_VERTEX || in visit() 181 this->shader_stage == MESA_SHADER_TESS_EVAL || in visit() 182 this->shader_stage == MESA_SHADER_GEOMETRY))); in visit() 195 (this->shader_stage == MESA_SHADER_GEOMETRY || in visit() [all …]
|
D | lower_vector_derefs.cpp | 35 vector_deref_visitor(void *mem_ctx, gl_shader_stage shader_stage) in vector_deref_visitor() argument 36 : progress(false), shader_stage(shader_stage), in vector_deref_visitor() 49 gl_shader_stage shader_stage; member in __anoncb3a76540111::vector_deref_visitor 82 if (shader_stage == MESA_SHADER_TESS_CTRL && in visit_enter()
|
D | lower_tess_level.cpp | 58 explicit lower_tess_level_visitor(gl_shader_stage shader_stage) in lower_tess_level_visitor() argument 61 new_tess_level_inner_var(NULL), shader_stage(shader_stage) in lower_tess_level_visitor() 93 const gl_shader_stage shader_stage; member in __anon08dfeb7f0111::lower_tess_level_visitor
|
D | link_atomics.cpp | 104 const unsigned shader_stage) in process_atomic_variable() argument 118 shader_stage); in process_atomic_variable() 137 buf->stage_counter_references[shader_stage] += t->length; in process_atomic_variable() 139 buf->stage_counter_references[shader_stage]++; in process_atomic_variable()
|
D | gl_nir_link_atomics.c | 80 unsigned shader_stage) in process_atomic_variable() argument 99 shader_stage); in process_atomic_variable() 121 buf->stage_counter_references[shader_stage] += glsl_get_length(t); in process_atomic_variable() 123 buf->stage_counter_references[shader_stage]++; in process_atomic_variable()
|
/third_party/glslang/glslang/OSDependent/Web/ |
D | glslang.pre.js | 1 Module['compileGLSLZeroCopy'] = function(glsl, shader_stage, gen_debug, spirv_version) { argument 5 switch (shader_stage) { 51 Module['compileGLSL'] = function(glsl, shader_stage, gen_debug, spirv_version) { 52 var compiled = Module['compileGLSLZeroCopy'](glsl, shader_stage, gen_debug, spirv_version);
|
/third_party/mesa3d/src/compiler/spirv/ |
D | spirv2nir.c | 90 gl_shader_stage shader_stage = MESA_SHADER_FRAGMENT; in main() local 112 shader_stage = stage_to_enum(optarg); in main() 113 if (shader_stage == MESA_SHADER_NONE) in main() 168 if (shader_stage == MESA_SHADER_KERNEL) { in main() 179 shader_stage, entry_point, in main()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_context.c | 1098 enum pipe_shader_type shader_stage, in draw_set_sampler_views() argument 1104 debug_assert(shader_stage < PIPE_SHADER_TYPES); in draw_set_sampler_views() 1110 draw->sampler_views[shader_stage][i] = views[i]; in draw_set_sampler_views() 1111 for (i = num; i < draw->num_sampler_views[shader_stage]; ++i) in draw_set_sampler_views() 1112 draw->sampler_views[shader_stage][i] = NULL; in draw_set_sampler_views() 1114 draw->num_sampler_views[shader_stage] = num; in draw_set_sampler_views() 1119 enum pipe_shader_type shader_stage, in draw_set_samplers() argument 1125 debug_assert(shader_stage < PIPE_SHADER_TYPES); in draw_set_samplers() 1131 draw->samplers[shader_stage][i] = samplers[i]; in draw_set_samplers() 1133 draw->samplers[shader_stage][i] = NULL; in draw_set_samplers() [all …]
|
D | draw_context.h | 183 enum pipe_shader_type shader_stage, 188 enum pipe_shader_type shader_stage, 194 enum pipe_shader_type shader_stage, 200 enum pipe_shader_type shader_stage, 213 enum pipe_shader_type shader_stage,
|
D | draw_llvm.h | 932 enum pipe_shader_type shader_stage); 936 enum pipe_shader_type shader_stage, 949 enum pipe_shader_type shader_stage,
|
/third_party/mesa3d/src/microsoft/spirv_to_dxil/ |
D | spirv2dxil.c | 67 gl_shader_stage shader_stage = MESA_SHADER_FRAGMENT; in main() local 82 shader_stage = stage_to_enum(optarg); in main() 83 if (shader_stage == MESA_SHADER_NONE) { in main() 133 (dxil_spirv_shader_stage)shader_stage, entry_point, in main()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atom_texture.c | 93 enum pipe_shader_type shader_stage, in st_get_sampler_views() argument 98 const GLuint old_max = st->state.num_sampler_views[shader_stage]; in st_get_sampler_views() 261 enum pipe_shader_type shader_stage, in update_textures() argument 267 st_get_sampler_views(st, shader_stage, prog, sampler_views); in update_textures() 269 unsigned old_num_textures = st->state.num_sampler_views[shader_stage]; in update_textures() 273 pipe->set_sampler_views(pipe, shader_stage, 0, num_textures, num_unbind, in update_textures() 275 st->state.num_sampler_views[shader_stage] = num_textures; in update_textures()
|
D | st_atom_sampler.c | 172 enum pipe_shader_type shader_stage, in update_shader_samplers() argument 268 cso_set_samplers(st->cso_context, shader_stage, num_samplers, states); in update_shader_samplers()
|
D | st_texture.h | 385 enum pipe_shader_type shader_stage,
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cGPUShaderFP64Tests.hpp | 476 glw::GLenum getCapturedPrimitiveType(shaderStage shader_stage) const; 477 glw::GLenum getDrawPrimitiveType(shaderStage shader_stage) const; 478 glw::GLuint getMaxUniformComponents(shaderStage shader_stage) const; 482 …glw::GLuint getAmountUniforms(shaderStage shader_stage, const uniformTypeDetails& uniform_type) co… 483 const glw::GLchar* getShaderStageName(shaderStage shader_stage) const; 492 void prepareProgram(shaderStage shader_stage, const uniformTypeDetails& uniform_type, 505 void prepareUniformDefinitions(shaderStage shader_stage, const uniformTypeDetails& uniform_type, 508 void prepareUniforms(shaderStage shader_stage, const uniformTypeDetails& uniform_type, 513 void prepareUniformVerification(shaderStage shader_stage, const uniformTypeDetails& uniform_type, 516 bool test(shaderStage shader_stage, const uniformTypeDetails& uniform_type) const; [all …]
|
D | gl4cShaderSubroutineTests.cpp | 442 …ls::program::getSubroutineIndex(const glw::GLchar* subroutine_name, glw::GLenum shader_stage) const in getSubroutineIndex() 447 index = gl.getSubroutineIndex(m_program_object_id, shader_stage, subroutine_name); in getSubroutineIndex() 467 …gram::getSubroutineUniformLocation(const glw::GLchar* uniform_name, glw::GLenum shader_stage) const in getSubroutineUniformLocation() 472 location = gl.getSubroutineUniformLocation(m_program_object_id, shader_stage, uniform_name); in getSubroutineUniformLocation() 1095 glw::GLenum Utils::getGLenumForShaderStage(const _shader_stage& shader_stage) in getGLenumForShaderStage() argument 1099 switch (shader_stage) in getGLenumForShaderStage() 1234 std::string Utils::getShaderStageString(const _shader_stage& shader_stage) in getShaderStageString() argument 1238 switch (shader_stage) in getShaderStageString() 8067 std::string FunctionalTest16::getShaderBody(const Utils::_shader_stage& shader_stage, const unsigne… in getShaderBody() argument 8076 switch (shader_stage) in getShaderBody() [all …]
|
D | gl4cShaderSubroutineTests.hpp | 103 …glw::GLuint getSubroutineIndex(const glw::GLchar* subroutine_name, glw::GLenum shader_stage) const; 105 …glw::GLint getSubroutineUniformLocation(const glw::GLchar* uniform_name, glw::GLenum shader_stage)… 256 static glw::GLenum getGLenumForShaderStage(const _shader_stage& shader_stage); 260 static std::string getShaderStageString(const _shader_stage& shader_stage); 907 …std::string getShaderBody(const Utils::_shader_stage& shader_stage, const unsigned int& n_id) cons… 917 void verifySubroutineUniformValuesForShaderStage(const _shader_stage& shader_stage, 1122 void executeTest(const Utils::_shader_stage& shader_stage); 1164 …std::string getShaderBody(const Utils::_shader_stage& shader_stage, const unsigned int& n_subrouti… 1188 void executeIteration(const Utils::_shader_stage& shader_stage); 1222 void executeIteration(const Utils::_shader_stage& shader_stage); [all …]
|
D | gl4cGPUShaderFP64Tests.cpp | 3341 for (std::vector<shaderStage>::const_iterator shader_stage = m_shader_stages.begin(); in iterate() local 3342 m_shader_stages.end() != shader_stage; ++shader_stage) in iterate() 3348 if (false == test(*shader_stage, *uniform_type)) in iterate() 3389 glw::GLenum GPUShaderFP64Test2::getCapturedPrimitiveType(shaderStage shader_stage) const in getCapturedPrimitiveType() 3391 switch (shader_stage) in getCapturedPrimitiveType() 3410 glw::GLenum GPUShaderFP64Test2::getDrawPrimitiveType(shaderStage shader_stage) const in getDrawPrimitiveType() 3412 switch (shader_stage) in getDrawPrimitiveType() 3436 glw::GLuint GPUShaderFP64Test2::getMaxUniformComponents(shaderStage shader_stage) const in getMaxUniformComponents() 3442 switch (shader_stage) in getMaxUniformComponents() 3530 glw::GLuint GPUShaderFP64Test2::getAmountUniforms(shaderStage shader_stage, in getAmountUniforms() argument [all …]
|
D | gl3cCommonBugsTests.cpp | 1703 std::string PerVertexValidationTest::getShaderStageName(_shader_stage shader_stage) const in getShaderStageName() 1707 switch (shader_stage) in getShaderStageName() 2582 _shader_stage shader_stage; in runPipelineObjectValidationTestMode() member 2616 if ((used_shader_stages & current_shader_program.shader_stage) != 0) in runPipelineObjectValidationTestMode() 2638 << getShaderStageName(current_shader_program.shader_stage) in runPipelineObjectValidationTestMode() 2668 if ((used_shader_stages & current_shader_program.shader_stage) != 0) in runPipelineObjectValidationTestMode() 2768 _shader_stage shader_stage; in runSeparateShaderTestMode() member 2804 const _shader_stage& current_shader_stage = shaders[n_shader].shader_stage; in runSeparateShaderTestMode()
|
/third_party/mesa3d/src/gallium/auxiliary/cso_cache/ |
D | cso_context.h | 71 enum pipe_shader_type shader_stage, 80 cso_single_sampler(struct cso_context *cso, enum pipe_shader_type shader_stage, 85 enum pipe_shader_type shader_stage);
|
D | cso_context.c | 1203 cso_set_sampler(struct cso_context *ctx, enum pipe_shader_type shader_stage, in cso_set_sampler() argument 1232 ctx->samplers[shader_stage].cso_samplers[idx] = cso; in cso_set_sampler() 1233 ctx->samplers[shader_stage].samplers[idx] = cso->data; in cso_set_sampler() 1238 cso_single_sampler(struct cso_context *ctx, enum pipe_shader_type shader_stage, in cso_single_sampler() argument 1241 if (cso_set_sampler(ctx, shader_stage, idx, templ)) in cso_single_sampler() 1250 enum pipe_shader_type shader_stage) in cso_single_sampler_done() argument 1252 struct sampler_info *info = &ctx->samplers[shader_stage]; in cso_single_sampler_done() 1257 ctx->pipe->bind_sampler_states(ctx->pipe, shader_stage, 0, in cso_single_sampler_done() 1271 enum pipe_shader_type shader_stage, in cso_set_samplers() argument 1297 ctx->samplers[shader_stage].cso_samplers[i] = in cso_set_samplers() [all …]
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_signature.h | 112 uint8_t shader_stage; // PSVShaderKind member
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_meta_copy_vrs_htile.c | 191 VkPipelineShaderStageCreateInfo shader_stage = { in radv_device_init_meta_copy_vrs_htile_state() local 201 .stage = shader_stage, in radv_device_init_meta_copy_vrs_htile_state()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcViewportArrayTests.hpp | 151 …glw::GLuint getSubroutineIndex(const glw::GLchar* subroutine_name, glw::GLenum shader_stage) const; 153 …glw::GLint getSubroutineUniformLocation(const glw::GLchar* uniform_name, glw::GLenum shader_stage)…
|