mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
radeonsi: set unorm=1 for TGSI_TEXTURE_SHADOWRECT as well
It was harmless, because we also set unorm in the sampler state. Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
b5744310d4
commit
f8c823b103
1 changed files with 2 additions and 1 deletions
|
|
@ -4122,7 +4122,8 @@ static void set_tex_fetch_args(struct si_shader_context *ctx,
|
|||
{
|
||||
struct gallivm_state *gallivm = &ctx->gallivm;
|
||||
unsigned num_args;
|
||||
unsigned is_rect = target == TGSI_TEXTURE_RECT;
|
||||
unsigned is_rect = target == TGSI_TEXTURE_RECT ||
|
||||
target == TGSI_TEXTURE_SHADOWRECT;
|
||||
|
||||
/* Pad to power of two vector */
|
||||
while (count < util_next_power_of_two(count))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue