/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 __anon0ea573e00111::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 __anonbb39fa950111::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 __anon9c5f61d50111::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 __anone7ab9ea00111::lower_tess_level_visitor
|
D | gl_nir_link_atomics.c | 82 unsigned shader_stage) in process_atomic_variable() argument 101 shader_stage); in process_atomic_variable() 123 buf->stage_counter_references[shader_stage] += glsl_get_length(t); in process_atomic_variable() 125 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 | 1096 enum pipe_shader_type shader_stage, in draw_set_sampler_views() argument 1102 assert(shader_stage < PIPE_SHADER_TYPES); in draw_set_sampler_views() 1108 draw->sampler_views[shader_stage][i] = views[i]; in draw_set_sampler_views() 1109 for (i = num; i < draw->num_sampler_views[shader_stage]; ++i) in draw_set_sampler_views() 1110 draw->sampler_views[shader_stage][i] = NULL; in draw_set_sampler_views() 1112 draw->num_sampler_views[shader_stage] = num; in draw_set_sampler_views() 1117 enum pipe_shader_type shader_stage, in draw_set_samplers() argument 1123 assert(shader_stage < PIPE_SHADER_TYPES); in draw_set_samplers() 1129 draw->samplers[shader_stage][i] = samplers[i]; in draw_set_samplers() 1131 draw->samplers[shader_stage][i] = NULL; in draw_set_samplers() [all …]
|
D | draw_context.h | 185 enum pipe_shader_type shader_stage, 190 enum pipe_shader_type shader_stage, 196 enum pipe_shader_type shader_stage, 202 enum pipe_shader_type shader_stage, 215 enum pipe_shader_type shader_stage,
|
D | draw_llvm.h | 960 enum pipe_shader_type shader_stage); 964 enum pipe_shader_type shader_stage, 977 enum pipe_shader_type shader_stage,
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atom_texture.c | 91 enum pipe_shader_type shader_stage, in st_get_sampler_views() argument 96 const GLuint old_max = st->state.num_sampler_views[shader_stage]; in st_get_sampler_views() 259 enum pipe_shader_type shader_stage, in update_textures() argument 265 st_get_sampler_views(st, shader_stage, prog, sampler_views); in update_textures() 267 unsigned old_num_textures = st->state.num_sampler_views[shader_stage]; in update_textures() 271 pipe->set_sampler_views(pipe, shader_stage, 0, num_textures, num_unbind, in update_textures() 273 st->state.num_sampler_views[shader_stage] = num_textures; in update_textures()
|
D | st_atom_sampler.c | 176 enum pipe_shader_type shader_stage, in update_shader_samplers() argument 272 cso_set_samplers(st->cso_context, shader_stage, num_samplers, states); in update_shader_samplers()
|
/third_party/mesa3d/src/microsoft/spirv_to_dxil/ |
D | spirv2dxil.c | 68 gl_shader_stage shader_stage = MESA_SHADER_FRAGMENT; in main() local 88 shader_stage = stage_to_enum(optarg); in main() 89 if (shader_stage == MESA_SHADER_NONE) { in main() 149 (dxil_spirv_shader_stage)shader_stage, entry_point, in main()
|
/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.c | 1217 set_sampler(struct cso_context *ctx, enum pipe_shader_type shader_stage, in set_sampler() argument 1248 cso_set_sampler(struct cso_context *ctx, enum pipe_shader_type shader_stage, in cso_set_sampler() argument 1251 struct cso_sampler *cso = set_sampler(ctx, shader_stage, idx, templ, size); in cso_set_sampler() 1252 ctx->samplers[shader_stage].cso_samplers[idx] = cso; in cso_set_sampler() 1253 ctx->samplers[shader_stage].samplers[idx] = cso->data; in cso_set_sampler() 1258 cso_single_sampler(struct cso_context *ctx, enum pipe_shader_type shader_stage, in cso_single_sampler() argument 1263 if (cso_set_sampler(ctx, shader_stage, idx, templ, size)) in cso_single_sampler() 1272 enum pipe_shader_type shader_stage) in cso_single_sampler_done() argument 1274 struct sampler_info *info = &ctx->samplers[shader_stage]; in cso_single_sampler_done() 1279 ctx->pipe->bind_sampler_states(ctx->pipe, shader_stage, 0, in cso_single_sampler_done() [all …]
|
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);
|
/third_party/mesa3d/src/panfrost/bifrost/test/ |
D | test-dual-texture.cpp | 30 #define CASE(shader_stage, instr, expected) do { \ argument 37 A->shader->stage = MESA_SHADER_ ## shader_stage; \ 44 B->shader->stage = MESA_SHADER_ ## shader_stage; \
|
/third_party/mesa3d/src/panfrost/bifrost/valhall/test/ |
D | test-insert-flow.cpp | 40 #define CASE(shader_stage, test) do { \ argument 45 A->shader->stage = MESA_SHADER_ ## shader_stage; \ 52 B->shader->stage = MESA_SHADER_ ## shader_stage; \
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_meta_copy_vrs_htile.c | 188 VkPipelineShaderStageCreateInfo shader_stage = { in radv_device_init_meta_copy_vrs_htile_state() local 198 .stage = shader_stage, in radv_device_init_meta_copy_vrs_htile_state()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_signature.h | 126 uint8_t shader_stage; // PSVShaderKind member
|
D | dxil_container.c | 250 …if (state->state.psv1.shader_stage == DXIL_HULL_SHADER && state->state.psv1.sig_patch_const_or_pri… in dxil_container_add_state_validation() 255 if (state->state.psv1.shader_stage == DXIL_DOMAIN_SHADER && in dxil_container_add_state_validation()
|