From: Dave Airlie Date: Thu, 2 Sep 2010 11:25:42 +0000 (+1000) Subject: r600g: fix thinko in shadow code. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d5f693cefe452bd8bd7e45f8b5d7ed991ae5115;p=mesa.git r600g: fix thinko in shadow code. spotted by taiu on irc --- 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)