Mesa (master): r600g: fix thinko in shadow code.
Dave Airlie
airlied at kemper.freedesktop.org
Thu Sep 2 11:30:49 UTC 2010
Module: Mesa
Branch: master
Commit: 5d5f693cefe452bd8bd7e45f8b5d7ed991ae5115
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d5f693cefe452bd8bd7e45f8b5d7ed991ae5115
Author: Dave Airlie <airlied at redhat.com>
Date: Thu Sep 2 21:25:42 2010 +1000
r600g: fix thinko in shadow code.
spotted by taiu on irc
---
src/gallium/drivers/r600/r600_shader.c | 2 +-
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 3147bc7..0ba26a2 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)
More information about the mesa-commit
mailing list