projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76d0541
)
r600g: fix thinko in shadow code.
author
Dave Airlie
<airlied@redhat.com>
Thu, 2 Sep 2010 11:25:42 +0000
(21:25 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 2 Sep 2010 11:26:12 +0000
(21:26 +1000)
spotted by taiu on irc
src/gallium/drivers/r600/r600_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_shader.c
b/src/gallium/drivers/r600/r600_shader.c
index 3147bc7ca33bfb67cd9361d4d920d4a0b7098aca..0ba26a23112f82ae36dc0adb9e4458a144ca3f02 100644
(file)
--- 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)