diff options
author | Eric Anholt <[email protected]> | 2015-06-16 12:03:10 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-06-16 15:15:14 -0700 |
commit | 507f3e708cbd10a4272aeffa0f066f1a80b48239 (patch) | |
tree | 366bd97f83739cc4134222dd5beee4f0f782e24b /src/gallium/drivers/vc4/kernel | |
parent | 2eac356467cef898ed05d0699077d9a9f4fa9156 (diff) |
vc4: R4 is not a valid register for clamped direct texturing.
Our array only goes to R3, and R4 is a special case that shouldn't be
used.
Diffstat (limited to 'src/gallium/drivers/vc4/kernel')
-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; |