r600g: fix thinko in shadow code.

spotted by taiu on irc
This commit is contained in:
Dave Airlie
2010-09-02 21:25:42 +10:00
parent 76d0541e79
commit 5d5f693cef
+1 -1
View File
@@ -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)