mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-15 06:30:37 +02:00
agx: restrict high uniforms with textures
seems to cause brokenness in blender, guess this is a new ISA corner we just found. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28483>
This commit is contained in:
parent
51eba1c38e
commit
51d3a376bc
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ should_lower(enum agx_opcode op, agx_index uniform, unsigned src_index)
|
|||
case AGX_OPCODE_IMAGE_LOAD:
|
||||
case AGX_OPCODE_TEXTURE_LOAD:
|
||||
case AGX_OPCODE_TEXTURE_SAMPLE:
|
||||
return src_index != 1 && src_index != 2;
|
||||
return !((src_index == 1 && !high) || src_index == 2);
|
||||
case AGX_OPCODE_DEVICE_LOAD:
|
||||
return src_index != 0 || high;
|
||||
case AGX_OPCODE_DEVICE_STORE:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue