summaryrefslogtreecommitdiff
path: root/src/egl
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2017-06-20 22:05:04 +0300
committerAndres Gomez <agomez@igalia.com>2017-06-28 20:15:04 +0300
commita49cad48966f48be26ad0e8596922bda3e365711 (patch)
tree23856f8640e3d020d6e11fbf7e1edad1de069dd8 /src/egl
parent0d8ed994111db1f8e80b3101e8a987f99e70a571 (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: mesa-stable@lists.freedesktop.org Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> (cherry picked from commit 1c409fe4c144f11ce6c6a4548ac5c6ba37980058)
Diffstat (limited to 'src/egl')
0 files changed, 0 insertions, 0 deletions