spirv: Flip the tessellation winding order
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 28 Apr 2017 14:12:24 +0000 (07:12 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 21 Sep 2017 00:21:06 +0000 (17:21 -0700)
commitfc91cbe20ba580930bac06632e7a6d4ed39bc3ab
treef6557eea44c7d124d5ab0b98726beb97e963736b
parent28911156711c661d42807aaaf89e33eeba53537e
spirv: Flip the tessellation winding order

It's not SPIR-V that's backwards from GLSL, it's Vulkan that's backwards
from GL.  Let's make NIR consistent with the source language and do the
flipping inside the Vulkan driver instead.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/amd/vulkan/radv_pipeline.c
src/compiler/spirv/spirv_to_nir.c
src/intel/vulkan/genX_pipeline.c