mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-12 13:58:31 +02:00
r600g: fix thinko in shadow code.
spotted by taiu on irc
This commit is contained in:
parent
76d0541e79
commit
5d5f693cef
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue