/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_constbuf.c | 60 enum pipe_shader_type shader_type = pipe_shader_type_from_mesa(stage); in st_upload_constants() local 62 assert(shader_type == PIPE_SHADER_VERTEX || in st_upload_constants() 63 shader_type == PIPE_SHADER_FRAGMENT || in st_upload_constants() 64 shader_type == PIPE_SHADER_GEOMETRY || in st_upload_constants() 65 shader_type == PIPE_SHADER_TESS_CTRL || in st_upload_constants() 66 shader_type == PIPE_SHADER_TESS_EVAL || in st_upload_constants() 67 shader_type == PIPE_SHADER_COMPUTE); in st_upload_constants() 70 if (shader_type == PIPE_SHADER_FRAGMENT && st->fp->ati_fs) { in st_upload_constants() 114 __func__, shader_type, params->NumParameters, in st_upload_constants() 119 cso_set_constant_buffer(st->cso_context, shader_type, 0, &cb); in st_upload_constants() [all …]
|
D | st_atom_storagebuf.c | 45 enum pipe_shader_type shader_type) in st_bind_ssbos() argument 78 st->pipe->set_shader_buffers(st->pipe, shader_type, 0, in st_bind_ssbos() 85 num_ssbos += st->last_used_atomic_bindings[shader_type]; in st_bind_ssbos() 86 if (st->last_num_ssbos[shader_type] > num_ssbos) { in st_bind_ssbos() 88 st->pipe, shader_type, in st_bind_ssbos() 90 st->last_num_ssbos[shader_type] - num_ssbos, in st_bind_ssbos() 92 st->last_num_ssbos[shader_type] = num_ssbos; in st_bind_ssbos()
|
D | st_atom_atomicbuf.c | 72 enum pipe_shader_type shader_type = pipe_shader_type_from_mesa(stage); in st_bind_atomics() local 89 st->pipe->set_shader_buffers(st->pipe, shader_type, in st_bind_atomics() 93 st->last_used_atomic_bindings[shader_type] = used_bindings; in st_bind_atomics()
|
/external/deqp-deps/amber/src/vkscript/ |
D | section_parser_test.cc | 49 EXPECT_EQ(kShaderTypeVertex, sections[0].shader_type); in TEST_F() 64 EXPECT_EQ(kShaderTypeVertex, sections[0].shader_type); in TEST_F() 101 EXPECT_EQ(kShaderTypeVertex, sections[0].shader_type); in TEST_F() 107 EXPECT_EQ(kShaderTypeFragment, sections[1].shader_type); in TEST_F() 113 EXPECT_EQ(kShaderTypeGeometry, sections[2].shader_type); in TEST_F() 138 EXPECT_EQ(kShaderTypeVertex, sections[0].shader_type); in TEST_F() 153 EXPECT_EQ(kShaderTypeVertex, sections[0].shader_type); in TEST_F() 189 ShaderType shader_type; in TEST_F() member 240 ShaderType shader_type = kShaderTypeVertex; in TEST_F() local 244 &shader_type, &fmt); in TEST_F() [all …]
|
D | section_parser.cc | 46 ShaderType* shader_type, in NameToNodeType() argument 49 assert(shader_type); in NameToNodeType() 87 *shader_type = kShaderTypeCompute; in NameToNodeType() 92 *shader_type = kShaderTypeFragment; in NameToNodeType() 97 *shader_type = kShaderTypeGeometry; in NameToNodeType() 102 *shader_type = kShaderTypeTessellationControl; in NameToNodeType() 107 *shader_type = kShaderTypeTessellationEvaluation; in NameToNodeType() 112 *shader_type = kShaderTypeVertex; in NameToNodeType() 129 ShaderType shader_type, in AddSection() argument 137 sections_.push_back({section_type, shader_type, kShaderFormatSpirvAsm, in AddSection() [all …]
|
D | section_parser.h | 44 ShaderType shader_type; // Only valid when section_type == kShader member 64 ShaderType* shader_type, in NameToNodeTypeForTesting() argument 66 return NameToNodeType(name, section_type, shader_type, fmt); in NameToNodeTypeForTesting() 72 ShaderType shader_type, 78 ShaderType* shader_type,
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl3cCommonBugsTests.cpp | 4883 std::string ReservedNamesTest::getShaderBody(_shader_type shader_type, _language_feature language_f… in getShaderBody() argument 4921 if (shader_type == SHADER_TYPE_COMPUTE) in getShaderBody() 4925 else if (shader_type == SHADER_TYPE_TESS_CONTROL) in getShaderBody() 4929 else if (shader_type == SHADER_TYPE_TESS_EVALUATION) in getShaderBody() 4975 if (shader_type == SHADER_TYPE_GEOMETRY || shader_type == SHADER_TYPE_TESS_CONTROL || in getShaderBody() 4976 shader_type == SHADER_TYPE_TESS_EVALUATION) in getShaderBody() 4993 if (shader_type == SHADER_TYPE_GEOMETRY || shader_type == SHADER_TYPE_TESS_CONTROL || in getShaderBody() 4994 shader_type == SHADER_TYPE_TESS_EVALUATION) in getShaderBody() 5011 if (shader_type == SHADER_TYPE_GEOMETRY || shader_type == SHADER_TYPE_TESS_CONTROL || in getShaderBody() 5012 shader_type == SHADER_TYPE_TESS_EVALUATION) in getShaderBody() [all …]
|
D | gl3cCommonBugsTests.hpp | 262 std::string getShaderBody(_shader_type shader_type, _language_feature language_feature, 264 std::string getShaderTypeName(_shader_type shader_type) const; 265 std::vector<_language_feature> getSupportedLanguageFeatures(_shader_type shader_type) const; 267 bool isStructAllowed(_shader_type shader_type, _language_feature language_feature) const;
|
/external/angle/src/compiler/translator/ |
D | gen_builtin_symbols.py | 762 def add_entry(self, essl_level, glsl_level, shader_type, name, symbol, essl_extension, argument 786 self.objs[name_hash]['shader_type2'] = shader_type 793 self.objs[name_hash]['shader_type3'] = shader_type 800 self.objs[name_hash]['shader_type4'] = shader_type 809 self.objs[name_hash]['shader_type'] = shader_type 819 self.objs[name_hash]['essl_ext_shader_type2'] = shader_type 824 self.objs[name_hash]['essl_ext_shader_type3'] = shader_type 829 self.objs[name_hash]['essl_ext_shader_type4'] = shader_type 836 self.objs[name_hash]['essl_ext_shader_type'] = shader_type 842 self.objs[name_hash]['glsl_ext_shader_type'] = shader_type [all …]
|
/external/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_context.c | 125 enum pipe_shader_type shader_type; in virgl_rebind_resource() local 126 for (shader_type = 0; shader_type < PIPE_SHADER_TYPES; shader_type++) { in virgl_rebind_resource() 128 &vctx->shader_bindings[shader_type]; in virgl_rebind_resource() 136 virgl_encoder_set_uniform_buffer(vctx, shader_type, i, in virgl_rebind_resource() 150 virgl_encode_set_shader_buffers(vctx, shader_type, i, 1, in virgl_rebind_resource() 162 virgl_encode_set_shader_images(vctx, shader_type, i, 1, in virgl_rebind_resource() 199 enum pipe_shader_type shader_type) in virgl_attach_res_sampler_views() argument 203 &vctx->shader_bindings[shader_type]; in virgl_attach_res_sampler_views() 253 enum pipe_shader_type shader_type) in virgl_attach_res_uniform_buffers() argument 257 &vctx->shader_bindings[shader_type]; in virgl_attach_res_uniform_buffers() [all …]
|
/external/mesa3d/src/compiler/glsl/ |
D | test_optpass.cpp | 165 int shader_type = GL_VERTEX_SHADER; in test_optpass() local 173 { "vertex-shader", no_argument, &shader_type, GL_VERTEX_SHADER }, in test_optpass() 174 { "fragment-shader", no_argument, &shader_type, GL_FRAGMENT_SHADER }, in test_optpass() 202 shader->Type = shader_type; in test_optpass() 203 shader->Stage = _mesa_shader_enum_to_shader_stage(shader_type); in test_optpass() 242 &ctx->Const.ShaderCompilerOptions[_mesa_shader_enum_to_shader_stage(shader_type)]; in test_optpass()
|
D | link_uniforms.cpp | 701 void start_shader(gl_shader_stage shader_type) in start_shader() argument 703 assert(shader_type < MESA_SHADER_STAGES); in start_shader() 704 this->shader_type = shader_type; in start_shader() 822 gl_shader_stage shader_type; member in parcel_out_uniform_storage 849 uniform->opaque[shader_type].index = index; in set_opaque_indices() 850 index = inner_array_size + uniform->opaque[shader_type].index; in set_opaque_indices() 868 uniform->opaque[shader_type].index = next_index; in set_opaque_indices() 873 index = uniform->opaque[shader_type].index + inner_array_size; in set_opaque_indices() 881 uniform->opaque[shader_type].index = next_index; in set_opaque_indices() 891 uniform->opaque[shader_type].active = true; in handle_samplers() [all …]
|
D | gl_nir_link_uniforms.c | 1572 for (unsigned shader_type = 0; shader_type < MESA_SHADER_STAGES; shader_type++) { in gl_nir_link_uniforms() local 1573 struct gl_linked_shader *sh = prog->_LinkedShaders[shader_type]; in gl_nir_link_uniforms() 1687 _mesa_hash_table_search(state.referenced_uniforms[shader_type], in gl_nir_link_uniforms() 1693 blocks[i].stageref |= 1U << shader_type; in gl_nir_link_uniforms() 1703 _mesa_hash_table_search(state.referenced_uniforms[shader_type], in gl_nir_link_uniforms() 1706 blocks[i].stageref |= 1U << shader_type; in gl_nir_link_uniforms() 1767 … _mesa_hash_table_search(state.referenced_uniforms[shader_type], var->name); in gl_nir_link_uniforms() 1769 blocks[i].stageref |= 1U << shader_type; in gl_nir_link_uniforms() 1801 name, type, shader_type)) { in gl_nir_link_uniforms() 1815 int res = nir_link_uniform(ctx, prog, sh->Program, shader_type, type, in gl_nir_link_uniforms() [all …]
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_tex_sample.cpp | 78 enum pipe_shader_type shader_type; member 120 switch (dynamic->shader_type) { in swr_texture_member() 226 switch (dynamic->shader_type) { in SWR_TEXTURE_MEMBER() 344 enum pipe_shader_type shader_type) in swr_sampler_soa_create() argument 373 sampler->dynamic_state.shader_type = shader_type; in swr_sampler_soa_create()
|
/external/virglrenderer/src/ |
D | vrend_renderer.c | 819 uint32_t shader_type, 975 static inline const char *pipe_shader_to_prefix(enum pipe_shader_type shader_type) in pipe_shader_to_prefix() argument 977 switch (shader_type) { in pipe_shader_to_prefix() 1515 char *name, int shader_type) in vrend_get_uniform_location() argument 1517 assert(!sprog->is_pipeline || sprog->ss[shader_type]->sel->sinfo.separable_program); in vrend_get_uniform_location() 1520 sprog->ss[shader_type]->program_id : in vrend_get_uniform_location() 1527 vrend_set_active_pipeline_stage(struct vrend_linked_shader_program *sprog, int shader_type) in vrend_set_active_pipeline_stage() argument 1529 if (sprog->is_pipeline && sprog->ss[shader_type]) in vrend_set_active_pipeline_stage() 1530 glActiveShaderProgram(sprog->id.pipeline, sprog->ss[shader_type]->program_id); in vrend_set_active_pipeline_stage() 1534 enum pipe_shader_type shader_type, int next_sampler_id) in bind_sampler_locs() argument [all …]
|
/external/mesa3d/src/compiler/glsl/tests/ |
D | builtin_variable_test.cpp | 34 common_builtin(GLenum shader_type) in common_builtin() argument 35 : shader_type(shader_type) in common_builtin() 49 GLenum shader_type; member in common_builtin 68 this->shader->Type = this->shader_type; in SetUp() 69 this->shader->Stage = _mesa_shader_enum_to_shader_stage(this->shader_type); in SetUp()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_context.h | 168 enum pipe_shader_type shader_type, 173 enum pipe_shader_type shader_type, 178 enum pipe_shader_type shader_type, 303 enum pipe_shader_type shader_type, 310 enum pipe_shader_type shader_type,
|
D | draw_context.c | 455 enum pipe_shader_type shader_type, in draw_set_mapped_constant_buffer() argument 460 debug_assert(shader_type == PIPE_SHADER_VERTEX || in draw_set_mapped_constant_buffer() 461 shader_type == PIPE_SHADER_GEOMETRY || in draw_set_mapped_constant_buffer() 462 shader_type == PIPE_SHADER_TESS_CTRL || in draw_set_mapped_constant_buffer() 463 shader_type == PIPE_SHADER_TESS_EVAL); in draw_set_mapped_constant_buffer() 468 switch (shader_type) { in draw_set_mapped_constant_buffer() 492 enum pipe_shader_type shader_type, in draw_set_mapped_shader_buffer() argument 497 debug_assert(shader_type == PIPE_SHADER_VERTEX || in draw_set_mapped_shader_buffer() 498 shader_type == PIPE_SHADER_GEOMETRY || in draw_set_mapped_shader_buffer() 499 shader_type == PIPE_SHADER_TESS_CTRL || in draw_set_mapped_shader_buffer() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | glspirv.c | 126 gl_shader_stage shader_type = shader->Stage; in _mesa_spirv_link_shaders() local 136 if (prog->_LinkedShaders[shader_type]) { in _mesa_spirv_link_shaders() 147 linked->Stage = shader_type; in _mesa_spirv_link_shaders() 151 ctx->Driver.NewProgram(ctx, shader_type, prog->Name, false); in _mesa_spirv_link_shaders() 169 prog->_LinkedShaders[shader_type] = linked; in _mesa_spirv_link_shaders() 170 prog->data->linked_stages |= 1 << shader_type; in _mesa_spirv_link_shaders()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/ |
D | gl_shader.cc | 48 absl::Status GlShader::CompileShader(GLenum shader_type, in CompileShader() argument 53 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glCreateShader, &shader_id, shader_type)); in CompileShader()
|
/external/deqp/external/openglcts/modules/glesext/ |
D | esextcTestCaseBase.cpp | 363 std::string getShaderTypeName(glw::GLenum shader_type) in getShaderTypeName() argument 365 switch (shader_type) in getShaderTypeName() 438 glw::GLint shader_type = 0; in buildProgramVA() local 441 gl.getShaderiv(sh_id, GL_SHADER_TYPE, &shader_type); in buildProgramVA() 442 std::string shader_type_str = getShaderTypeName(shader_type); in buildProgramVA() 492 glw::GLint shader_type = 0; in buildProgramVA() local 493 gl.getShaderiv(*it, GL_SHADER_TYPE, &shader_type); in buildProgramVA() 494 std::string shader_type_str = getShaderTypeName(shader_type); in buildProgramVA()
|
/external/vulkan-validation-layers/tests/ |
D | vktestframework.h | 67 …bool GLSLtoSPV(const VkShaderStageFlagBits shader_type, const char *pshader, std::vector<unsigned … 90 EShLanguage FindLanguage(const VkShaderStageFlagBits shader_type);
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_shader.c | 232 enum pipe_shader_type shader_type, in svga_init_shader_key_common() argument 238 assert(shader_type < ARRAY_SIZE(svga->curr.num_sampler_views)); in svga_init_shader_key_common() 243 key->num_textures = MAX2(svga->curr.num_sampler_views[shader_type], in svga_init_shader_key_common() 244 svga->curr.num_samplers[shader_type]); in svga_init_shader_key_common() 247 struct pipe_sampler_view *view = svga->curr.sampler_views[shader_type][i]; in svga_init_shader_key_common() 249 *sampler = svga->curr.sampler[shader_type][i]; in svga_init_shader_key_common()
|
/external/mesa3d/src/freedreno/decode/ |
D | pgmdump2.c | 73 const char *shader_type; member 199 state->shader_type = "FRAG"; in decode_header() 202 state->shader_type = "VERT"; in decode_header() 208 state->shader_type = "BVERT"; in decode_header() 378 state->shader_type, stats.instructions, in decode_shader_descriptor_block()
|
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/ |
D | esextcTessellationShaderInvariance.cpp | 356 glw::GLenum shader_type = shader_types[n_shader_type]; in initTest() local 357 glw::GLenum shader_type_es = (glw::GLenum)shader_type; in initTest() 361 if (shader_type == SHADER_TYPE_TESSELLATION_EVALUATION) in initTest() 365 …else if ((shader_type != SHADER_TYPE_FRAGMENT) && (shader_type != SHADER_TYPE_TESSELLATION_CONTROL… in initTest() 366 (shader_type != SHADER_TYPE_VERTEX)) in initTest() 386 if (shader_type == SHADER_TYPE_FRAGMENT) in initTest() 390 else if (shader_type == SHADER_TYPE_TESSELLATION_CONTROL) in initTest() 394 else if (shader_type == SHADER_TYPE_TESSELLATION_EVALUATION) in initTest() 398 else if (shader_type == SHADER_TYPE_VERTEX) in initTest() 420 if (shader_type == SHADER_TYPE_FRAGMENT) in initTest() [all …]
|