Searched refs:shader_type (Results 1 - 25 of 96) sorted by relevance

1234

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/
H A Dswr_tex_sample.h48 enum pipe_shader_type shader_type);
H A Dswr_tex_sample.cpp77 enum pipe_shader_type shader_type; member in struct:swr_sampler_dynamic_state
119 switch (dynamic->shader_type) {
216 switch (dynamic->shader_type) {
328 enum pipe_shader_type shader_type)
355 sampler->dynamic_state.shader_type = shader_type;
327 swr_sampler_soa_create(const struct swr_sampler_static_state * static_state,enum pipe_shader_type shader_type) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/
H A Dswr_tex_sample.h48 enum pipe_shader_type shader_type);
H A Dswr_tex_sample.cpp78 enum pipe_shader_type shader_type; member in struct:swr_sampler_dynamic_state
120 switch (dynamic->shader_type) {
226 switch (dynamic->shader_type) {
344 enum pipe_shader_type shader_type)
373 sampler->dynamic_state.shader_type = shader_type;
343 swr_sampler_soa_create(const struct swr_sampler_static_state * static_state,enum pipe_shader_type shader_type) argument
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_atom_constbuf.c55 st_unbind_unused_cb0(struct st_context *st, enum pipe_shader_type shader_type) argument
57 if (st->state.constbuf0_enabled_shader_mask & (1 << shader_type)) {
60 pipe->set_constant_buffer(pipe, shader_type, 0, false, NULL);
61 st->state.constbuf0_enabled_shader_mask &= ~(1 << shader_type);
72 enum pipe_shader_type shader_type = pipe_shader_type_from_mesa(stage); local in function:st_upload_constants
74 st_unbind_unused_cb0(st, shader_type);
80 assert(shader_type == PIPE_SHADER_VERTEX ||
81 shader_type == PIPE_SHADER_FRAGMENT ||
82 shader_type == PIPE_SHADER_GEOMETRY ||
83 shader_type
258 st_bind_ubos(struct st_context * st,struct gl_program * prog,enum pipe_shader_type shader_type) argument
[all...]
H A Dst_atom_storagebuf.c45 enum pipe_shader_type shader_type)
78 st->pipe->set_shader_buffers(st->pipe, shader_type, 0,
85 num_ssbos += st->last_used_atomic_bindings[shader_type];
86 if (st->last_num_ssbos[shader_type] > num_ssbos) {
88 st->pipe, shader_type,
90 st->last_num_ssbos[shader_type] - num_ssbos,
92 st->last_num_ssbos[shader_type] = num_ssbos;
44 st_bind_ssbos(struct st_context * st,struct gl_program * prog,enum pipe_shader_type shader_type) argument
H A Dst_atom_atomicbuf.c72 enum pipe_shader_type shader_type = pipe_shader_type_from_mesa(stage); local in function:st_bind_atomics
89 st->pipe->set_shader_buffers(st->pipe, shader_type,
93 st->last_used_atomic_bindings[shader_type] = used_bindings;
H A Dst_atom_image.c160 enum pipe_shader_type shader_type)
178 unsigned last_num_images = st->state.num_images[shader_type];
181 pipe->set_shader_images(pipe, shader_type, 0, num_images, unbind_slots,
183 st->state.num_images[shader_type] = num_images;
159 st_bind_images(struct st_context * st,struct gl_program * prog,enum pipe_shader_type shader_type) argument
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_atom_constbuf.c60 enum pipe_shader_type shader_type = pipe_shader_type_from_mesa(stage); local in function:st_upload_constants
62 assert(shader_type == PIPE_SHADER_VERTEX ||
63 shader_type == PIPE_SHADER_FRAGMENT ||
64 shader_type == PIPE_SHADER_GEOMETRY ||
65 shader_type == PIPE_SHADER_TESS_CTRL ||
66 shader_type == PIPE_SHADER_TESS_EVAL ||
67 shader_type == PIPE_SHADER_COMPUTE);
70 if (shader_type == PIPE_SHADER_FRAGMENT && st->fp->ati_fs) {
114 __func__, shader_type, params->NumParameters,
119 cso_set_constant_buffer(st->cso_context, shader_type,
198 st_bind_ubos(struct st_context * st,struct gl_program * prog,enum pipe_shader_type shader_type) argument
[all...]
H A Dst_atom_storagebuf.c45 enum pipe_shader_type shader_type)
84 st->pipe->set_shader_buffers(st->pipe, shader_type, buffer_base,
90 st->pipe, shader_type,
44 st_bind_ssbos(struct st_context * st,struct gl_program * prog,enum pipe_shader_type shader_type) argument
H A Dst_atom_atomicbuf.c69 enum pipe_shader_type shader_type)
83 st->pipe->set_shader_buffers(st->pipe, shader_type,
68 st_bind_atomics(struct st_context * st,struct gl_program * prog,enum pipe_shader_type shader_type) argument
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dtest_optpass.cpp163 int shader_type = GL_VERTEX_SHADER; local in function:test_optpass
171 { "vertex-shader", no_argument, &shader_type, GL_VERTEX_SHADER },
172 { "fragment-shader", no_argument, &shader_type, GL_FRAGMENT_SHADER },
200 shader->Type = shader_type;
201 shader->Stage = _mesa_shader_enum_to_shader_stage(shader_type);
240 &ctx->Const.ShaderCompilerOptions[_mesa_shader_enum_to_shader_stage(shader_type)];
H A Dlink_uniforms.cpp689 shader_type(MESA_SHADER_NONE),
714 void start_shader(gl_shader_stage shader_type) argument
716 assert(shader_type < MESA_SHADER_STAGES);
717 this->shader_type = shader_type;
835 gl_shader_stage shader_type; member in class:parcel_out_uniform_storage
862 uniform->opaque[shader_type].index = index;
863 index = inner_array_size + uniform->opaque[shader_type].index;
881 uniform->opaque[shader_type].index = next_index;
886 index = uniform->opaque[shader_type]
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dtest_optpass.cpp167 int shader_type = GL_VERTEX_SHADER; local in function:test_optpass
175 { "vertex-shader", no_argument, &shader_type, GL_VERTEX_SHADER },
176 { "fragment-shader", no_argument, &shader_type, GL_FRAGMENT_SHADER },
204 shader->Type = shader_type;
205 shader->Stage = _mesa_shader_enum_to_shader_stage(shader_type);
244 &ctx->Const.ShaderCompilerOptions[_mesa_shader_enum_to_shader_stage(shader_type)];
H A Dlink_uniforms.cpp485 void start_shader(gl_shader_stage shader_type) argument
487 assert(shader_type < MESA_SHADER_STAGES);
488 this->shader_type = shader_type;
606 gl_shader_stage shader_type; member in class:parcel_out_uniform_storage
633 uniform->opaque[shader_type].index = index;
634 index = inner_array_size + uniform->opaque[shader_type].index;
652 uniform->opaque[shader_type].index = next_index;
657 index = uniform->opaque[shader_type].index + inner_array_size;
665 uniform->opaque[shader_type]
[all...]
H A Dgl_nir_link_uniforms.c466 for (unsigned shader_type = 0; shader_type < MESA_SHADER_STAGES; shader_type++) { local in function:gl_nir_link_uniforms
467 struct gl_linked_shader *sh = prog->_LinkedShaders[shader_type];
489 uniform->active_shader_mask |= 1 << shader_type;
505 int res = nir_link_uniform(ctx, prog, sh->Program, shader_type, var->type,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/virgl/
H A Dvirgl_context.c128 enum pipe_shader_type shader_type; local in function:virgl_rebind_resource
129 for (shader_type = 0; shader_type < PIPE_SHADER_TYPES; shader_type++) {
131 &vctx->shader_bindings[shader_type];
139 virgl_encoder_set_uniform_buffer(vctx, shader_type, i,
153 virgl_encode_set_shader_buffers(vctx, shader_type, i, 1,
165 virgl_encode_set_shader_images(vctx, shader_type, i, 1,
202 enum pipe_shader_type shader_type)
206 &vctx->shader_bindings[shader_type];
201 virgl_attach_res_sampler_views(struct virgl_context * vctx,enum pipe_shader_type shader_type) argument
255 virgl_attach_res_uniform_buffers(struct virgl_context * vctx,enum pipe_shader_type shader_type) argument
272 virgl_attach_res_shader_buffers(struct virgl_context * vctx,enum pipe_shader_type shader_type) argument
289 virgl_attach_res_shader_images(struct virgl_context * vctx,enum pipe_shader_type shader_type) argument
326 enum pipe_shader_type shader_type; local in function:virgl_reemit_draw_resources
1026 virgl_set_sampler_views(struct pipe_context * ctx,enum pipe_shader_type shader_type,unsigned start_slot,unsigned num_views,unsigned unbind_num_trailing_slots,bool take_ownership,struct pipe_sampler_view ** views) argument
1425 virgl_release_shader_binding(struct virgl_context * vctx,enum pipe_shader_type shader_type) argument
1465 enum pipe_shader_type shader_type; local in function:virgl_context_destroy
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_context.h168 enum pipe_shader_type shader_type,
173 enum pipe_shader_type shader_type,
178 enum pipe_shader_type shader_type,
304 enum pipe_shader_type shader_type,
311 enum pipe_shader_type shader_type,
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/tests/
H A Dbuiltin_variable_test.cpp34 common_builtin(GLenum shader_type) argument
35 : shader_type(shader_type)
49 GLenum shader_type; member in class:common_builtin
68 this->shader->Type = this->shader_type;
69 this->shader->Stage = _mesa_shader_enum_to_shader_stage(this->shader_type);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/tests/
H A Dbuiltin_variable_test.cpp34 common_builtin(GLenum shader_type) argument
35 : shader_type(shader_type)
49 GLenum shader_type; member in class:common_builtin
66 this->shader->Type = this->shader_type;
67 this->shader->Stage = _mesa_shader_enum_to_shader_stage(this->shader_type);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dglspirv.c126 gl_shader_stage shader_type = shader->Stage; local in function:_mesa_spirv_link_shaders
136 if (prog->_LinkedShaders[shader_type]) {
147 linked->Stage = shader_type;
152 _mesa_shader_stage_to_program(shader_type),
171 prog->_LinkedShaders[shader_type] = linked;
172 prog->data->linked_stages |= 1 << shader_type;
H A Darbprogram.c393 const char *shader_type = local in function:_mesa_ProgramStringARB
397 shader_type, prog->Id);
402 shader_type, prog->Id);
405 shader_type, prog->Id);
416 const char *shader_type = local in function:_mesa_ProgramStringARB
420 capture_path, shader_type[0], prog->Id);
426 shader_type, shader_type, (const char *) string);
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dglspirv.c126 gl_shader_stage shader_type = shader->Stage; local in function:_mesa_spirv_link_shaders
136 if (prog->_LinkedShaders[shader_type]) {
147 linked->Stage = shader_type;
151 ctx->Driver.NewProgram(ctx, shader_type, prog->Name, false);
169 prog->_LinkedShaders[shader_type] = linked;
170 prog->data->linked_stages |= 1 << shader_type;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_context.h155 enum pipe_shader_type shader_type,
160 enum pipe_shader_type shader_type,
165 enum pipe_shader_type shader_type,
252 enum pipe_shader_type shader_type,
/xsrc/external/mit/MesaLib/dist/src/amd/common/
H A Dac_rtld.h95 gl_shader_stage shader_type; member in struct:ac_rtld_open_info

Completed in 23 milliseconds

1234