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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user