pan/mdg: Avoid fusing ld_vary_16 with non-zero component
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5423>
This commit is contained in:
committed by
Marge Bot
parent
1f98d8c804
commit
7ac1bb047a
@@ -67,6 +67,11 @@ nir_fuse_io_16(nir_shader *shader)
|
||||
if (nir_dest_bit_size(intr->dest) != 32)
|
||||
continue;
|
||||
|
||||
/* We swizzle at a 32-bit level so need a multiple of 2. We could
|
||||
* do a bit better and handle even components though */
|
||||
if (nir_intrinsic_component(intr))
|
||||
continue;
|
||||
|
||||
if (!intr->dest.is_ssa)
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user