Skip to content
Snippets Groups Projects
Commit 57804efa authored by Faith Ekstrand's avatar Faith Ekstrand :speech_balloon:
Browse files

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's avatarKenneth Graunke <kenneth@whitecape.org>
Reviewed-by: default avatarTimothy Arceri <tarceri@itsqueeze.com>
parent 4e060385
No related branches found
Tags mesa-17.1.0
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment