diff options
author | Ilia Mirkin <[email protected]> | 2015-10-20 18:03:40 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-10-29 00:44:22 -0400 |
commit | b75fff70d82474a571c59c2a3a01e4f9f02286a7 (patch) | |
tree | 3ef1249221ecab3eeddb9460ea1c256fc4c06d2c /m4 | |
parent | 77f58c04cc287b72e2b859d71591da158db6830a (diff) |
nvc0: do upload-time fixups for interpolation parameters
Unfortunately flatshading is an all-or-nothing proposition on nvc0,
while GL 3.0 calls for the ability to selectively specify explicit
interpolation parameters on gl_Color/gl_SecondaryColor which would
override the flatshading setting. This allows us to fix up the
interpolation settings after shader generation based on rasterizer
settings.
While we're at it, we can add support for dynamically forcing all
(non-flat) shader inputs to be interpolated per-sample, which allows
st/mesa to not generate variants for these.
Fixes the remaining failing glsl-1.30/execution/interpolation piglits.
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions