diff options
Diffstat (limited to 'src/mesa/drivers/dri/i915/i915_texprog.c')
-rw-r--r-- | src/mesa/drivers/dri/i915/i915_texprog.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_texprog.c b/src/mesa/drivers/dri/i915/i915_texprog.c index ecf3a38a20..3eaf53d7d5 100644 --- a/src/mesa/drivers/dri/i915/i915_texprog.c +++ b/src/mesa/drivers/dri/i915/i915_texprog.c @@ -74,6 +74,19 @@ static GLuint get_source( struct i915_fragment_program *p, } return p->src_texture; + + /* Crossbar: */ + case GL_TEXTURE0: + case GL_TEXTURE1: + case GL_TEXTURE2: + case GL_TEXTURE3: + case GL_TEXTURE4: + case GL_TEXTURE5: + case GL_TEXTURE6: + case GL_TEXTURE7: { + return UREG_BAD; + } + case GL_CONSTANT: return i915_emit_const4fv( p, p->ctx->Texture.Unit[unit].EnvColor ); case GL_PRIMARY_COLOR: |