diff options
author | Ville Syrjälä <[email protected]> | 2017-06-20 22:05:04 +0300 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2017-06-22 17:26:17 +0300 |
commit | 1c409fe4c144f11ce6c6a4548ac5c6ba37980058 (patch) | |
tree | 366cb9171a04b7b6fbefa99e768cfb1f88557b38 /src/mesa/drivers/common/driverfuncs.c | |
parent | b81cfc73408b3d55772a56fbfa0e505b4da281a8 (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/common/driverfuncs.c')
0 files changed, 0 insertions, 0 deletions