diff options
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c b/src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c index 2e727a4425b..ba1ae0a1925 100644 --- a/src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c +++ b/src/gallium/drivers/vc4/kernel/vc4_validate_shaders.c @@ -88,7 +88,7 @@ raddr_add_a_to_live_reg_index(uint64_t inst) return raddr_a; } else if (add_a == QPU_MUX_B) { return 32 + raddr_b; - } else if (add_a <= QPU_MUX_R4) { + } else if (add_a <= QPU_MUX_R3) { return 64 + add_a; } else { return ~0; |