Searched refs:SamplerUnits (Results 1 – 18 of 18) sorted by relevance
775 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()
69 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()
1954 GLubyte SamplerUnits[MAX_SAMPLERS]; member2391 GLubyte SamplerUnits[MAX_SAMPLERS]; member
138 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()
541 memset(prog->SamplerUnits, 0, sizeof(prog->SamplerUnits)); in link_assign_uniform_locations()
211 fs->SamplerUnits[s] : vs->SamplerUnits[s]; in gen7_upload_samplers()
360 fs->SamplerUnits[s] : vs->SamplerUnits[s]; in brw_upload_samplers()
667 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()
447 int unit_id = prog->SamplerUnits[s]; in brw_populate_sampler_prog_key_data()
1316 const unsigned unit = vs->SamplerUnits[s]; in brw_update_texture_surfaces()1327 const unsigned unit = fs->SamplerUnits[s]; in brw_update_texture_surfaces()
1287 int texunit = fp->Base.SamplerUnits[sampler]; in visit()
280 const GLuint texUnit = prog->SamplerUnits[unit]; in update_textures()401 const GLuint texUnit = fprog->Base.SamplerUnits[su]; in finalize_textures()
232 const GLuint texUnit = prog->SamplerUnits[unit]; in update_shader_samplers()
187 machine->Samplers = program->Base.SamplerUnits; in init_machine()
263 machine->Samplers = ctx->VertexProgram._Current->Base.SamplerUnits; in init_machine()
1022 fprintf(f, "%d ", prog->SamplerUnits[i]); in _mesa_fprint_program_parameters()
279 prog->SamplerUnits[i] = i; in _mesa_init_program_struct()
272 GLuint unit = program->Base.SamplerUnits[inst->TexSrcUnit]; \