summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-09-02 21:25:42 +1000
committerDave Airlie <airlied@redhat.com>2010-09-02 21:26:12 +1000
commit5d5f693cefe452bd8bd7e45f8b5d7ed991ae5115 (patch)
treef68bc3aef8afa06c1e4f8a166300e3f8e802eaa9 /src
parent76d0541e79d4fe2ffcb25b17f9dd540fafc14ba2 (diff)
r600g: fix thinko in shadow code.
spotted by taiu on irc
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r600/r600_shader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c
index 3147bc7ca3..0ba26a2311 100644
--- a/src/gallium/drivers/r600/r600_shader.c
+++ b/src/gallium/drivers/r600/r600_shader.c
@@ -1684,7 +1684,7 @@ static int tgsi_tex(struct r600_shader_ctx *ctx)
}
if (inst->Texture.Texture == TGSI_TEXTURE_SHADOW1D || inst->Texture.Texture == TGSI_TEXTURE_SHADOW2D)
- tex.coord_type_w = 2;
+ tex.src_sel_w = 2;
r = r600_bc_add_tex(ctx->bc, &tex);
if (r)