diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2008-08-05 10:18:56 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2008-08-05 10:18:56 +0800 |
commit | a3024caff1c790cf9f24476926aa62198f1e7b53 (patch) | |
tree | 3d03ae29e6611f3c71d937e20a525639d6be4316 /src/mesa/shader/program.c | |
parent | 62fb5f7b9ab70017d5de6ab3d0886bc4cbdbc57f (diff) |
i965: Use program->SamplerUnits[] to get the appropriate texture unit.
inst->TexSrcUnit is used as an index into program->SamplerUnits[] since
the commit ade508312c701ce89d3c2cd717994dbbabb4f207, and program->SamplerUnits
is a sampler-to-texture-unit mapping.
Diffstat (limited to 'src/mesa/shader/program.c')
0 files changed, 0 insertions, 0 deletions