summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2018-11-11 15:52:33 -0500
committerIlia Mirkin <[email protected]>2018-11-16 22:43:52 -0500
commitbeb66d374724583e56430992a8458188f07802b8 (patch)
tree0d6fbd643dc619b64503e3392c7824401972fa68 /src/mesa/drivers/dri
parent799e021894a0e23e3017bf0cbb8780190f3e5646 (diff)
nv50/ir/ra: enforce max register requirement, and change spill order
On nv50, certain operations must happen on regs below 64, due to encoding requirements. First of all, we add infrastructure to enforce this. Secondly we change the spill order to first spill RIG nodes that are unconstrained, followed by ones that are. This makes the gamecube logo shadertoy compile properly. Curiously, if we adjust the spill order so that we first spill the constrained RIG nodes instead, the RA also succeeds. However it seems more logical to first spill the unconstrained ones. While we're at it, drop the nv50 max register to reserve r127 as the zero register of last resort (r63 is preferred). Signed-off-by: Ilia Mirkin <[email protected]> Acked-by: Karol Herbst <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
0 files changed, 0 insertions, 0 deletions