anv/pipeline: Add shader lowering for multiview
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 22 Mar 2017 22:37:17 +0000 (15:37 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 3 May 2017 18:25:46 +0000 (11:25 -0700)
commit0db70703300938356e8f3bef33e5826efc0b10c3
tree0f15f8dc9e61fa0e870616654dd76b41dd9692b8
parentca5bdfdfc68c065980db2dd06a5979c2c4fe674b
anv/pipeline: Add shader lowering for multiview

v2 (Jason Ekstrand):
 - Take a view_mask rather than a whole subpass
 - Build the view mask into the VS shader key

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/intel/Makefile.sources
src/intel/vulkan/anv_nir.h
src/intel/vulkan/anv_nir_lower_multiview.c [new file with mode: 0644]
src/intel/vulkan/anv_pipeline.c