anv: merge tessellation's primitive mode in merge_tess_info()
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Wed, 28 Jun 2017 07:39:55 +0000 (09:39 +0200)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Mon, 3 Jul 2017 06:00:43 +0000 (08:00 +0200)
commitba05f6f72b3ca0e88816a6a9e3bdcae3c3f67254
treeba9cdccdc2f7be65f24a849f7d2a3db1df3ac1ea
parent32c1a54bd01465e77a8e26b9cc8d2487b31509c5
anv: merge tessellation's primitive mode in merge_tess_info()

SPIR-V tessellation shaders that were created from HLSL will have
the primitive generation domain set in tessellation control shader
(hull shader in HLSL) instead of the tessellation evaluation shader.

v2:
- Add assert (Kenneth)

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/vulkan/anv_pipeline.c