diff options
author | Brian Paul <[email protected]> | 2005-11-05 17:18:09 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-11-05 17:18:09 +0000 |
commit | 9ba4ef3102196844d663b82565c87765fa240e16 (patch) | |
tree | c3c7585d2174c99e7807994c22c4e983279ef8e2 /src/mesa/drivers/dri | |
parent | 7e807510d8c3e88ee7ae6c697393201cf08f992f (diff) |
s/TexSrcIdx/TexSrcTarget/
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/i915/i915_fragprog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_fragprog.c b/src/mesa/drivers/dri/i915/i915_fragprog.c index 4602b3260ee..20424b1da43 100644 --- a/src/mesa/drivers/dri/i915/i915_fragprog.c +++ b/src/mesa/drivers/dri/i915/i915_fragprog.c @@ -191,7 +191,7 @@ static GLuint get_result_flags( const struct prog_instruction *inst ) return flags; } -static GLuint translate_tex_src_idx( struct i915_fragment_program *p, +static GLuint translate_tex_src_target( struct i915_fragment_program *p, GLubyte bit ) { switch (bit) { @@ -206,7 +206,7 @@ static GLuint translate_tex_src_idx( struct i915_fragment_program *p, #define EMIT_TEX( OP ) \ do { \ - GLuint dim = translate_tex_src_idx( p, inst->TexSrcIdx ); \ + GLuint dim = translate_tex_src_target( p, inst->TexSrcTarget ); \ GLuint sampler = i915_emit_decl(p, REG_TYPE_S, \ inst->TexSrcUnit, dim); \ GLuint coord = src_vector( p, &inst->SrcReg[0], program); \ |