Home
last modified time | relevance | path

Searched refs:shader_stage (Results 1 – 25 of 33) sorted by relevance

12

/external/mesa3d/src/compiler/glsl/
Dir_set_program_inouts.cpp47 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 __anon716823750111::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 …]
Dlower_distance.cpp61 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 __anonc9a237ca0111::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 …]
Dlower_vector_derefs.cpp35 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 __anonb217282a0111::vector_deref_visitor
82 if (shader_stage == MESA_SHADER_TESS_CTRL && in visit_enter()
Dlower_tess_level.cpp58 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 __anon3117fd150111::lower_tess_level_visitor
Dlink_atomics.cpp104 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()
Dgl_nir_link_atomics.c80 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()
/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.h69 enum pipe_shader_type shader_stage,
78 cso_single_sampler(struct cso_context *cso, enum pipe_shader_type shader_stage,
83 enum pipe_shader_type shader_stage);
176 enum pipe_shader_type shader_stage,
185 enum pipe_shader_type shader_stage,
193 enum pipe_shader_type shader_stage,
196 enum pipe_shader_type shader_stage,
200 enum pipe_shader_type shader_stage,
203 enum pipe_shader_type shader_stage);
205 enum pipe_shader_type shader_stage);
Dcso_context.c1267 cso_single_sampler(struct cso_context *ctx, enum pipe_shader_type shader_stage, in cso_single_sampler() argument
1301 ctx->samplers[shader_stage].cso_samplers[idx] = cso; in cso_single_sampler()
1302 ctx->samplers[shader_stage].samplers[idx] = cso->data; in cso_single_sampler()
1313 enum pipe_shader_type shader_stage) in cso_single_sampler_done() argument
1315 struct sampler_info *info = &ctx->samplers[shader_stage]; in cso_single_sampler_done()
1320 ctx->pipe->bind_sampler_states(ctx->pipe, shader_stage, 0, in cso_single_sampler_done()
1334 enum pipe_shader_type shader_stage, in cso_set_samplers() argument
1339 cso_single_sampler(ctx, shader_stage, i, templates[i]); in cso_set_samplers()
1341 cso_single_sampler_done(ctx, shader_stage); in cso_set_samplers()
1379 enum pipe_shader_type shader_stage, in cso_set_sampler_views() argument
[all …]
/external/mesa3d/src/compiler/spirv/
Dspirv2nir.c84 gl_shader_stage shader_stage = MESA_SHADER_FRAGMENT; in main() local
104 shader_stage = stage_to_enum(optarg); in main()
105 if (shader_stage == MESA_SHADER_NONE) in main()
153 if (shader_stage == MESA_SHADER_KERNEL) { in main()
164 shader_stage, entry_point, in main()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/OSDependent/Web/
Dglslang.pre.js1 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);
/external/deqp-deps/glslang/glslang/OSDependent/Web/
Dglslang.pre.js1 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);
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_context.c1102 enum pipe_shader_type shader_stage, in draw_set_sampler_views() argument
1108 debug_assert(shader_stage < PIPE_SHADER_TYPES); in draw_set_sampler_views()
1114 draw->sampler_views[shader_stage][i] = views[i]; in draw_set_sampler_views()
1115 for (i = num; i < draw->num_sampler_views[shader_stage]; ++i) in draw_set_sampler_views()
1116 draw->sampler_views[shader_stage][i] = NULL; in draw_set_sampler_views()
1118 draw->num_sampler_views[shader_stage] = num; in draw_set_sampler_views()
1123 enum pipe_shader_type shader_stage, in draw_set_samplers() argument
1129 debug_assert(shader_stage < PIPE_SHADER_TYPES); in draw_set_samplers()
1135 draw->samplers[shader_stage][i] = samplers[i]; in draw_set_samplers()
1137 draw->samplers[shader_stage][i] = NULL; in draw_set_samplers()
[all …]
Ddraw_context.h183 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,
Ddraw_llvm.h902 enum pipe_shader_type shader_stage);
906 enum pipe_shader_type shader_stage,
919 enum pipe_shader_type shader_stage,
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_texture.c102 enum pipe_shader_type shader_stage, in update_textures() argument
106 const GLuint old_max = st->state.num_sampler_views[shader_stage]; in update_textures()
248 shader_stage, in update_textures()
251 st->state.num_sampler_views[shader_stage] = num_textures; in update_textures()
257 enum pipe_shader_type shader_stage, in update_textures_local() argument
262 update_textures(st, shader_stage, prog, local_views); in update_textures_local()
264 unsigned num = st->state.num_sampler_views[shader_stage]; in update_textures_local()
Dst_atom_sampler.c259 enum pipe_shader_type shader_stage, in update_shader_samplers() argument
345 cso_set_samplers(st->cso_context, shader_stage, num_samplers, states); in update_shader_samplers()
/external/deqp/external/openglcts/modules/gl/
Dgl4cGPUShaderFP64Tests.hpp476 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 …]
Dgl4cShaderSubroutineTests.cpp442 …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()
8068 std::string FunctionalTest16::getShaderBody(const Utils::_shader_stage& shader_stage, const unsigne… in getShaderBody() argument
8077 switch (shader_stage) in getShaderBody()
[all …]
Dgl4cShaderSubroutineTests.hpp103 …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 …]
Dgl4cGPUShaderFP64Tests.cpp3341 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()
3412 glw::GLenum GPUShaderFP64Test2::getDrawPrimitiveType(shaderStage shader_stage) const in getDrawPrimitiveType()
3414 switch (shader_stage) in getDrawPrimitiveType()
3442 glw::GLuint GPUShaderFP64Test2::getMaxUniformComponents(shaderStage shader_stage) const in getMaxUniformComponents()
3448 switch (shader_stage) in getMaxUniformComponents()
3536 glw::GLuint GPUShaderFP64Test2::getAmountUniforms(shaderStage shader_stage, in getAmountUniforms() argument
[all …]
Dgl3cCommonBugsTests.cpp1703 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()
2769 _shader_stage shader_stage; in runSeparateShaderTestMode() member
2805 const _shader_stage& current_shader_stage = shaders[n_shader].shader_stage; in runSeparateShaderTestMode()
Dgl3cCommonBugsTests.hpp440 std::string getShaderStageName(_shader_stage shader_stage) const;
Dgl4cShadingLanguage420PackTests.hpp284 …glw::GLuint getSubroutineIndex(const glw::GLchar* subroutine_name, glw::GLenum shader_stage) const;
286 …glw::GLint getSubroutineUniformLocation(const glw::GLchar* uniform_name, glw::GLenum shader_stage)…
/external/deqp/external/openglcts/modules/common/
DglcViewportArrayTests.hpp151 …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)…
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.hpp387 void init(const glw::Functions& gl, glw::GLenum shader_stage, const std::string& source,

12