Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Duniform_query.cpp775 shProg->SamplerUnits[uni->sampler + offset + i] = in _mesa_uniform()
791 assert(sizeof(prog->SamplerUnits) == sizeof(shProg->SamplerUnits)); in _mesa_uniform()
797 for (unsigned j = 0; j < Elements(prog->SamplerUnits); j++) { in _mesa_uniform()
799 && (prog->SamplerUnits[j] != shProg->SamplerUnits[j])) { in _mesa_uniform()
811 memcpy(prog->SamplerUnits, in _mesa_uniform()
812 shProg->SamplerUnits, in _mesa_uniform()
813 sizeof(shProg->SamplerUnits)); in _mesa_uniform()
Duniforms.c69 memcpy(prog->SamplerUnits, shProg->SamplerUnits, sizeof(prog->SamplerUnits)); in _mesa_update_shader_textures_used()
74 GLuint unit = shProg->SamplerUnits[s]; in _mesa_update_shader_textures_used()
Dmtypes.h1954 GLubyte SamplerUnits[MAX_SAMPLERS]; member
2391 GLubyte SamplerUnits[MAX_SAMPLERS]; member
/external/mesa3d/src/glsl/
Dlink_uniform_initializers.cpp138 prog->SamplerUnits[storage->sampler + i] = storage->storage[i].i; in set_uniform_initializer()
148 prog->SamplerUnits[storage->sampler] = storage->storage[0].i; in set_uniform_initializer()
Dlink_uniforms.cpp541 memset(prog->SamplerUnits, 0, sizeof(prog->SamplerUnits)); in link_assign_uniform_locations()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_sampler_state.c211 fs->SamplerUnits[s] : vs->SamplerUnits[s]; in gen7_upload_samplers()
Dbrw_wm_sampler_state.c360 fs->SamplerUnits[s] : vs->SamplerUnits[s]; in brw_upload_samplers()
Dbrw_wm_fp.c667 const GLuint unit = c->fp->program.Base.SamplerUnits[inst->TexSrcUnit]; in precalc_tex()
1145 out->TexSrcUnit = fp->program.Base.SamplerUnits[inst->TexSrcUnit]; in brw_wm_pass_fp()
Dbrw_wm.c447 int unit_id = prog->SamplerUnits[s]; in brw_populate_sampler_prog_key_data()
Dbrw_wm_surface_state.c1316 const unsigned unit = vs->SamplerUnits[s]; in brw_update_texture_surfaces()
1327 const unsigned unit = fs->SamplerUnits[s]; in brw_update_texture_surfaces()
Dbrw_fs_visitor.cpp1287 int texunit = fp->Base.SamplerUnits[sampler]; in visit()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_texture.c280 const GLuint texUnit = prog->SamplerUnits[unit]; in update_textures()
401 const GLuint texUnit = fprog->Base.SamplerUnits[su]; in finalize_textures()
Dst_atom_sampler.c232 const GLuint texUnit = prog->SamplerUnits[unit]; in update_shader_samplers()
/external/mesa3d/src/mesa/swrast/
Ds_fragprog.c187 machine->Samplers = program->Base.SamplerUnits; in init_machine()
/external/mesa3d/src/mesa/tnl/
Dt_vb_program.c263 machine->Samplers = ctx->VertexProgram._Current->Base.SamplerUnits; in init_machine()
/external/mesa3d/src/mesa/program/
Dprog_print.c1022 fprintf(f, "%d ", prog->SamplerUnits[i]); in _mesa_fprint_program_parameters()
Dprogram.c279 prog->SamplerUnits[i] = i; in _mesa_init_program_struct()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_fragprog.c272 GLuint unit = program->Base.SamplerUnits[inst->TexSrcUnit]; \