[Mesa-dev] [PATCH] spirv: Flip the tessellation winding order

Jason Ekstrand jason at jlekstrand.net
Thu May 25 17:14:18 UTC 2017


On Thu, May 25, 2017 at 7:07 AM, Marek Olšák <maraeo at gmail.com> wrote:

> On Wed, May 24, 2017 at 8:34 PM, Jason Ekstrand <jason at jlekstrand.net>
> wrote:
> > 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.
>
> I wonder why that is. Note that GL is backwards compared to AMD GCN. I
> guess Vulkan simply matches AMD GCN.
>

It was a mistake made with Vulkan 1.1.  What actually happened was that
Vulkan was spec'd to match GL but the tests were written backwards and no
one caught it. Since everyone passes the tests, everyone is backwards so
the spec was changed to match implementations.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170525/e727d66a/attachment.html>


More information about the mesa-dev mailing list