aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-09-02 21:25:42 +1000
committerDave Airlie <[email protected]>2010-09-02 21:26:12 +1000
commit5d5f693cefe452bd8bd7e45f8b5d7ed991ae5115 (patch)
treef68bc3aef8afa06c1e4f8a166300e3f8e802eaa9
parent76d0541e79d4fe2ffcb25b17f9dd540fafc14ba2 (diff)
r600g: fix thinko in shadow code.
spotted by taiu on irc
-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 3147bc7ca33..0ba26a23112 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)