Home
last modified time | relevance | path

Searched refs:SamplerUnits (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_initializers.c84 if (index >= ARRAY_SIZE(shader->Program->SamplerUnits)) in set_opaque_binding()
86 shader->Program->SamplerUnits[index] = in set_opaque_binding()
249 shader->Program->SamplerUnits[index] = storage->storage[0].i; in set_uniform_initializer()
Dlink_uniform_initializers.cpp157 if (index >= ARRAY_SIZE(shader->Program->SamplerUnits)) in set_opaque_binding()
159 shader->Program->SamplerUnits[index] = in set_opaque_binding()
253 shader->Program->SamplerUnits[index] = storage->storage[0].i; in set_uniform_initializer()
Dserialize.cpp1095 blob_write_bytes(metadata, glprog->SamplerUnits, in write_shader_metadata()
1096 sizeof(glprog->SamplerUnits)); in write_shader_metadata()
1150 blob_copy_bytes(metadata, (uint8_t *) glprog->SamplerUnits, in read_shader_metadata()
1151 sizeof(glprog->SamplerUnits)); in read_shader_metadata()
/external/mesa3d/src/mesa/state_tracker/
Dst_texture.h244 const GLuint texUnit = prog->SamplerUnits[unit]; in st_get_texture_object()
Dst_atom_texture.c127 const GLuint texUnit = prog->SamplerUnits[unit]; in update_textures()
Dst_atom_sampler.c286 unsigned tex_unit = prog->SamplerUnits[unit]; in update_shader_samplers()
/external/mesa3d/src/mesa/swrast/
Ds_fragprog.c181 machine->Samplers = program->SamplerUnits; in init_machine()
/external/mesa3d/src/mesa/main/
Duniform_query.cpp1194 if (sh->Program->SamplerUnits[unit] != value) { in _mesa_uniform()
1199 sh->Program->SamplerUnits[unit] = value; in _mesa_uniform()
1644 GLuint unit = prog[idx]->SamplerUnits[s]; in _mesa_sampler_uniforms_pipeline_are_valid()
Dtexstate.c736 prog[i]->SamplerUnits[s], in update_program_texture_state()
856 const int unit = prog->SamplerUnits[s]; in fix_missing_textures_for_atifs()
Dmtypes.h2128 GLubyte SamplerUnits[MAX_SAMPLERS]; member
Duniforms.c116 prog->SamplerUnits[s], in _mesa_update_shader_textures_used()
/external/mesa3d/src/mesa/program/
Dprogram.c212 prog->SamplerUnits[i] = i; in _mesa_init_gl_program()
Dprog_print.c893 fprintf(f, "%d ", prog->SamplerUnits[i]); in _mesa_fprint_program_parameters()
/external/mesa3d/src/mesa/tnl/
Dt_vb_program.c244 machine->Samplers = ctx->VertexProgram._Current->SamplerUnits; in init_machine()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm.c204 int unit_id = prog->SamplerUnits[s]; in brw_populate_sampler_prog_key_data()
Dbrw_draw.c484 BITSET_SET(used_for_txf, prog->SamplerUnits[s]); in mark_textures_used_for_txf()
Dbrw_wm_surface_state.c1181 const unsigned unit = prog->SamplerUnits[s]; in update_stage_texture_surfaces()
DgenX_state_upload.c5406 const unsigned unit = prog->SamplerUnits[s];
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_fragprog.c283 GLuint unit = program->SamplerUnits[inst->TexSrcUnit]; \
/external/mesa3d/docs/relnotes/
D19.1.0.rst2531 - i965: Drop unnecessary 'and' with prog->SamplerUnits