mesa/src
Francisco Jerez f3d387867f 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>
2016-11-03 11:46:44 -07:00
..
amd amd/common: add ac_is_sgpr_param helper 2016-11-03 10:06:27 +01:00
compiler nir: Flip gl_SamplePosition in nir_lower_wpos_ytransform(). 2016-11-03 11:46:44 -07:00
egl gbm: set up the interop extension for egl/drm 2016-11-01 22:33:13 +01:00
gallium pipe-loader: add libamd_common for radeonsi 2016-11-03 16:54:55 +01:00
gbm gbm: set up the interop extension for egl/drm 2016-11-01 22:33:13 +01:00
getopt Introduce .editorconfig 2016-08-31 17:06:54 -07:00
glx glx/windows: Add wgl.h to the sources list 2016-11-03 11:38:04 +01:00
gtest Introduce .editorconfig 2016-08-31 17:06:54 -07:00
hgl glapi/hgl: remove the final user of _glapi_check_table() 2016-10-06 15:03:46 +01:00
intel isl: Only allow Y-tiling for ASTC textures 2016-11-03 11:22:58 -07:00
loader loader: cleanup copyright section 2016-10-18 17:06:32 +01:00
mapi mesa: add missing CONTEXT_ROBUST_ACCESS enum 2016-10-27 07:06:41 +03:00
mesa i965: Use rzalloc for cfg_t 2016-11-03 11:16:05 -07:00
util ralloc: add a linear allocator as a child node of ralloc 2016-10-31 11:53:38 +01:00
vulkan/wsi vulkan/wsi/x11: Clean up connections in finish_wsi 2016-11-02 09:26:36 -07:00
Makefile.am amd/common: build also for gallium drivers 2016-11-03 10:06:24 +01:00
SConscript scons: put the generated git_sha1.h file in top-level src/ directory 2016-06-17 10:33:00 -06:00