summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2017-06-20 22:05:04 +0300
committerVille Syrjälä <[email protected]>2017-06-22 17:26:17 +0300
commit1c409fe4c144f11ce6c6a4548ac5c6ba37980058 (patch)
tree366cb9171a04b7b6fbefa99e768cfb1f88557b38 /src/mesa/drivers/dri/i965
parentb81cfc73408b3d55772a56fbfa0e505b4da281a8 (diff)
i915: Fix gl_Fragcoord interpolation
gl_FragCoord contains the window coordinates so it seems to me that we should not use perspective correct interpolation for it. At least now I get similar output as i965/swrast/llvmpipe produce. This fixes dEQP-GLES2.functional.shaders.builtin_variable.fragcoord_w. dEQP-GLES2.functional.shaders.builtin_variable.fragcoord_xyz was already passing, though I'm not quite sure how it managed to do that. v2: Add definitons for the S3 "wrap shortest" bits as well (Ian) Cc: [email protected] Reviewed-by: Ian Romanick <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965')
0 files changed, 0 insertions, 0 deletions