i965/fs: Flag all slots of a flat input as flat
Otherwise, only the first vec4 of a matrix or other complex type will get marked as flat and we'll interpolate the others. This was caught by a dEQP test which started failing because it did a SSO vs. non-SSO comparison. Previously, we did the interpolation wrong consistently in both versions. However, with one of Tim Arceri's NIR linkingpatches, we started splitting the matrix input into vectors at link time in the non-SSO version and it started getting correctly interpolated which didn't match the broken SSO version. As of this commit, they both get correctly interpolated. Fixes: e61cc87c "i965/fs: Add a flat_inputs field to prog_data" Reviewed-by:Kenneth Graunke <kenneth@whitecape.org> Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com>
Loading
Please register or sign in to comment