Home
last modified time | relevance | path

Searched refs:shader_stage (Results 1 - 25 of 40) sorted by relevance

12

/third_party/mesa3d/src/compiler/glsl/
H A Dir_set_program_inouts.cpp47 gl_shader_stage shader_stage) in ir_set_program_inouts_visitor()
50 this->shader_stage = shader_stage; in ir_set_program_inouts_visitor()
67 gl_shader_stage shader_stage; member in __anon7174::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()
46 ir_set_program_inouts_visitor(struct gl_program *prog, gl_shader_stage shader_stage) ir_set_program_inouts_visitor() argument
424 do_set_program_inouts(exec_list *instructions, struct gl_program *prog, gl_shader_stage shader_stage) do_set_program_inouts() argument
[all...]
H A 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 __anon7184::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 in visit()
[all...]
H A 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 __anon7198::vector_deref_visitor
82 if (shader_stage == MESA_SHADER_TESS_CTRL && in visit_enter()
H A Dgl_nir_link_atomics.c82 unsigned shader_stage) in process_atomic_variable()
101 shader_stage); in process_atomic_variable() local
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()
75 process_atomic_variable(const struct glsl_type *t, struct gl_shader_program *prog, unsigned *uniform_loc, nir_variable *var, struct active_atomic_buffer *buffers, unsigned *num_buffers, int *offset, unsigned shader_stage) process_atomic_variable() argument
H A 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 __anon7195::lower_tess_level_visitor
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_context.c1096 enum pipe_shader_type shader_stage, in draw_set_sampler_views()
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()
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][ in draw_set_samplers()
1095 draw_set_sampler_views(struct draw_context *draw, enum pipe_shader_type shader_stage, struct pipe_sampler_view **views, unsigned num) draw_set_sampler_views() argument
1116 draw_set_samplers(struct draw_context *draw, enum pipe_shader_type shader_stage, struct pipe_sampler_state **samplers, unsigned num) draw_set_samplers() argument
1142 draw_set_images(struct draw_context *draw, enum pipe_shader_type shader_stage, struct pipe_image_view *views, unsigned num) draw_set_images() argument
1163 draw_set_mapped_texture(struct draw_context *draw, enum pipe_shader_type shader_stage, unsigned sview_idx, uint32_t width, uint32_t height, uint32_t depth, uint32_t first_level, uint32_t last_level, uint32_t num_samples, uint32_t sample_stride, const void *base_ptr, uint32_t row_stride[PIPE_MAX_TEXTURE_LEVELS], uint32_t img_stride[PIPE_MAX_TEXTURE_LEVELS], uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]) draw_set_mapped_texture() argument
1187 draw_set_mapped_image(struct draw_context *draw, enum pipe_shader_type shader_stage, unsigned idx, uint32_t width, uint32_t height, uint32_t depth, const void *base_ptr, uint32_t row_stride, uint32_t img_stride, uint32_t num_samples, uint32_t sample_stride) draw_set_mapped_image() argument
[all...]
H A Ddraw_context.h185 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,
H A Ddraw_llvm.h960 enum pipe_shader_type shader_stage);
964 enum pipe_shader_type shader_stage,
977 enum pipe_shader_type shader_stage,
/third_party/glslang/glslang/OSDependent/Web/
H A Dglslang.pre.js1 Module['compileGLSLZeroCopy'] = function(glsl, shader_stage, gen_debug, spirv_version) {
5 switch (shader_stage) {
10 throw new Error("shader_stage must be 'vertex', 'fragment', or 'compute'.");
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/
H A Dspirv2nir.c90 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/vk-gl-cts/external/openglcts/modules/gl/
H A 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) const;
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, cons
[all...]
H A Dgl4cShaderSubroutineTests.cpp442 GLuint Utils::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 GLint Utils::program::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()
1091 * @param shader_stage Shader stage to user for the query.
1095 glw::GLenum Utils::getGLenumForShaderStage(const _shader_stage& shader_stage) in getGLenumForShaderStage() argument
1099 switch (shader_stage) in getGLenumForShaderStage()
1121 } /* switch (shader_stage) */ in getGLenumForShaderStage()
1230 * @param shader_stage Shader stage to use for the query.
1234 std::string Utils::getShaderStageString(const _shader_stage& shader_stage) in getShaderStageString() argument
8067 getShaderBody(const Utils::_shader_stage& shader_stage, const unsigned int& n_id) const getShaderBody() argument
8802 verifySubroutineUniformValuesForShaderStage( const _shader_stage& shader_stage, const _subroutine_uniform_value_verification& verification) verifySubroutineUniformValuesForShaderStage() argument
10275 glw::GLenum shader_stage = undefined_shader_stages[n_undefined_shader_stage]; iterate() local
10740 executeTest(const Utils::_shader_stage& shader_stage) executeTest() argument
11032 getShaderBody(const Utils::_shader_stage& shader_stage, const unsigned int& n_subroutine_types, const _test_case& test_case) const getShaderBody() argument
11355 executeIteration(const Utils::_shader_stage& shader_stage) executeIteration() argument
11738 executeIteration(const Utils::_shader_stage& shader_stage) executeIteration() argument
12413 executeIteration(const Utils::_shader_stage& shader_stage) executeIteration() argument
[all...]
H A 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) const;
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) const;
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_subroutine_types,
1188 void executeIteration(const Utils::_shader_stage& shader_stage);
1222 void executeIteration(const Utils::_shader_stage& shader_stage);
[all...]
H A Dgl4cGPUShaderFP64Tests.cpp3341 for (std::vector<shaderStage>::const_iterator shader_stage = m_shader_stages.begin(); in iterate()
3342 m_shader_stages.end() != shader_stage; ++shader_stage) in iterate()
3348 if (false == test(*shader_stage, *uniform_type)) in iterate()
3385 * @param shader_stage Tested shader stage id
3389 glw::GLenum GPUShaderFP64Test2::getCapturedPrimitiveType(shaderStage shader_stage) const in getCapturedPrimitiveType()
3391 switch (shader_stage) in getCapturedPrimitiveType()
3406 * @param shader_stage Tested shader stage id
3410 glw::GLenum GPUShaderFP64Test2::getDrawPrimitiveType(shaderStage shader_stage) const in getDrawPrimitiveType()
3412 switch (shader_stage) in getDrawPrimitiveType()
3530 getAmountUniforms(shaderStage shader_stage, const uniformTypeDetails& uniform_type) const getAmountUniforms() argument
3721 prepareProgram(shaderStage shader_stage, const uniformTypeDetails& uniform_type, Utils::programInfo& out_program_info) const prepareProgram() argument
4094 prepareUniformDefinitions(shaderStage shader_stage, const uniformTypeDetails& uniform_type, std::string& out_source_code) const prepareUniformDefinitions() argument
4122 prepareUniforms(shaderStage shader_stage, const uniformTypeDetails& uniform_type, const Utils::programInfo& program_info) const prepareUniforms() argument
4207 prepareUniformVerification(shaderStage shader_stage, const uniformTypeDetails& uniform_type, std::string& out_source_code) const prepareUniformVerification() argument
4263 test(shaderStage shader_stage, const uniformTypeDetails& uniform_type) const test() argument
[all...]
H A Dgl3cCommonBugsTests.cpp1699 * @param shader_stage Enum to return the string for.
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/mesa/state_tracker/
H A Dst_atom_texture.c91 enum pipe_shader_type shader_stage, in st_get_sampler_views()
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()
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()
90 st_get_sampler_views(struct st_context *st, enum pipe_shader_type shader_stage, const struct gl_program *prog, struct pipe_sampler_view **sampler_views) st_get_sampler_views() argument
258 update_textures(struct st_context *st, enum pipe_shader_type shader_stage, const struct gl_program *prog) update_textures() argument
H A Dst_atom_sampler.c176 enum pipe_shader_type shader_stage, in update_shader_samplers()
272 cso_set_samplers(st->cso_context, shader_stage, num_samplers, states); in update_shader_samplers()
175 update_shader_samplers(struct st_context *st, enum pipe_shader_type shader_stage, const struct gl_program *prog, struct pipe_sampler_state *samplers, unsigned *out_num_samplers) update_shader_samplers() argument
H A Dst_texture.h256 enum pipe_shader_type shader_stage,
/third_party/mesa3d/src/microsoft/spirv_to_dxil/
H A Dspirv2dxil.c68 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/mesa3d/src/gallium/auxiliary/cso_cache/
H A Dcso_context.h71 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);
H A Dcso_context.c1217 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()
1274 struct sampler_info *info = &ctx->samplers[shader_stage]; in cso_single_sampler_done()
1279 ctx->pipe->bind_sampler_states(ctx->pipe, shader_stage, in cso_single_sampler_done()
1271 cso_single_sampler_done(struct cso_context *ctx, enum pipe_shader_type shader_stage) cso_single_sampler_done() argument
1286 set_samplers(struct cso_context *ctx, enum pipe_shader_type shader_stage, unsigned nr, const struct pipe_sampler_state **templates, size_t key_size) set_samplers() argument
1333 cso_set_samplers(struct cso_context *ctx, enum pipe_shader_type shader_stage, unsigned nr, const struct pipe_sampler_state **templates) cso_set_samplers() argument
[all...]
/third_party/mesa3d/src/panfrost/bifrost/test/
H A Dtest-dual-texture.cpp30 #define CASE(shader_stage, instr, expected) do { \
37 A->shader->stage = MESA_SHADER_ ## shader_stage; \
44 B->shader->stage = MESA_SHADER_ ## shader_stage; \
/third_party/mesa3d/src/panfrost/bifrost/valhall/test/
H A Dtest-insert-flow.cpp40 #define CASE(shader_stage, test) do { \
45 A->shader->stage = MESA_SHADER_ ## shader_stage; \
52 B->shader->stage = MESA_SHADER_ ## shader_stage; \
/third_party/mesa3d/src/microsoft/compiler/
H A Ddxil_signature.h126 uint8_t shader_stage; // PSVShaderKind member
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_meta_copy_vrs_htile.c188 VkPipelineShaderStageCreateInfo shader_stage = { in radv_device_init_meta_copy_vrs_htile_state()
198 .stage = shader_stage, in radv_device_init_meta_copy_vrs_htile_state()

Completed in 41 milliseconds

12