summaryrefslogtreecommitdiffstats
path: root/CleanSpec.mk
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2016-11-01 11:56:13 -0700
committerEmil Velikov <emil.l.velikov@gmail.com>2016-11-09 14:00:31 +0000
commit2789bfdbb59c4528a248dd8c02124dd384caefe6 (patch)
tree5fd379a8bf46bd76b3433c8ef403cdc52070dc8f /CleanSpec.mk
parentda1ac6bc4642f0c2ab10f557d7749fc6d41dc4b7 (diff)
downloadexternal_mesa3d-2789bfdbb59c4528a248dd8c02124dd384caefe6.zip
external_mesa3d-2789bfdbb59c4528a248dd8c02124dd384caefe6.tar.gz
external_mesa3d-2789bfdbb59c4528a248dd8c02124dd384caefe6.tar.bz2
nir: Flip gl_SamplePosition in nir_lower_wpos_ytransform().
Assuming the hardware is set up to use a screen coordinate system flipped vertically with respect to the GL's window coordinate system, the SYSTEM_VALUE_SAMPLE_POS vector will also be flipped vertically with respect to the value expected by the GL, so we need to give it the same treatment as gl_FragCoord. Fixes the following CTS tests on i965: ES31-CTS.functional.shaders.multisample_interpolation.interpolate_at_offset.at_sample_position.default_framebuffer ES31-CTS.functional.shaders.sample_variables.sample_pos.correctness.default_framebuffer when run with any multisample configuration, e.g. rgba8888d24s8ms4. Cc: <mesa-stable@lists.freedesktop.org> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> (cherry picked from commit f3d387867f74ae758b41168f23992671f7dce254)
Diffstat (limited to 'CleanSpec.mk')
0 files changed, 0 insertions, 0 deletions