diff options
author | Ilia Mirkin <[email protected]> | 2016-05-12 23:42:47 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-05-15 14:12:56 -0400 |
commit | be2b13e3bf4e61aee96c9575e7781d053f0788a1 (patch) | |
tree | b56f36536baf4140650660a6c562950dc771d03a /src/compiler/nir | |
parent | 9323d084ac5a5f59936097b6f5bf9db41c1a89bd (diff) |
nv50/ir: avoid asserts when the state tracker feeds us bogus inputs
INTERP is defined (by me) to have to have a INPUT source. However the
state tracker does not always obey this. This happens due to varying
packing logic introducing additional mov's which can't always be undone.
Instead of just giving up, we instead try harder to find the original
input. This won't always be possible, for example with indirect
accesses. There's not much we can (easily) do about that though.
This fixes the remaining interpolateAt* failures in dEQP:
dEQP-GLES31.functional.shaders.multisample_interpolation.interpolate_at*
some of which were asserting due to INTERP_* being passed a non-input.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/compiler/nir')
0 files changed, 0 insertions, 0 deletions