mesa/src/intel
Iago Toral Quiroga ebfe5e17ee anv/lower_input_attachments: honor sample index parameter to subpassLoad()
According to GL_KHR_vulkan_glsl, the signature of subpassLoad() is:

gvec4 subpassLoad(gsubpassInput   subpass);
gvec4 subpassLoad(gsubpassInputMS subpass, int sample);

So the multisampled case always receives an explicit sample index that we
should use. The current implementation was ignoring this parameter
and using gl_SampleID value instead.

Fixes:
dEQP-VK.pipeline.multisample_shader_builtin.sample_id.*

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: "17.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 9b25769da6)
2017-02-03 11:08:55 +00:00
..
blorp intel/blorp/copy: Properly handle clear colors for CCS_E images 2017-01-24 01:15:47 +00:00
common i965: Fix a mistake from porting the URB allocation code to arrays. 2016-11-23 16:57:29 -08:00
genxml genxml: Rename 3DSTATE_HS::Enable to "Function Enable". 2017-01-10 13:20:33 -08:00
isl isl/surface_state: Handle ISL_AUX_USAGE_HIZ 2017-01-12 20:52:20 -08:00
tools intel/aubinator: fix 32bit shift overflow warning 2016-12-11 20:04:15 +01:00
vulkan anv/lower_input_attachments: honor sample index parameter to subpassLoad() 2017-02-03 11:08:55 +00:00
Android.blorp.mk intel/blorp: fix typo in android makefile 2016-09-03 08:22:53 -07:00
Android.common.mk android: intel: fix include paths in new "common" library 2016-09-03 20:03:16 -07:00
Android.genxml.mk android: intel: Flatten the makefile structure 2016-08-29 12:17:34 -07:00
Android.isl.mk android: intel: Flatten the makefile structure 2016-08-29 12:17:34 -07:00
Android.mk intel: Add a new "common" library for more code sharing 2016-09-03 08:23:06 -07:00
Makefile.am intel: Add a new "common" library for more code sharing 2016-09-03 08:23:06 -07:00
Makefile.blorp.am i965: Move blorp into src/intel/blorp 2016-08-29 12:17:34 -07:00
Makefile.common.am intel: Add a new "common" library for more code sharing 2016-09-03 08:23:06 -07:00
Makefile.genxml.am genxml: Handle failure of Python codegen scripts. 2016-10-26 14:06:45 -07:00
Makefile.isl.am intel: Add a new "common" library for more code sharing 2016-09-03 08:23:06 -07:00
Makefile.sources intel: Share URB configuration code between GL and Vulkan. 2016-11-19 11:40:01 -08:00