SPV: PrimitiveId in frag shader will emit Geometry capability
authorMaciej Jesionowski <maciej.jesionowski@mobica.com>
Mon, 26 Sep 2016 14:49:09 +0000 (16:49 +0200)
committerMaciej Jesionowski <maciej.jesionowski@mobica.com>
Tue, 27 Sep 2016 08:35:09 +0000 (10:35 +0200)
commit04b3e8746fa363b05ece9b314c8e3a067f971bbe
tree4ebb923067332c39ba377e3da0993c3f6593f478
parent5fc501ff07baa2a57f3c49668e3daca2f9095dce
SPV: PrimitiveId in frag shader will emit Geometry capability

Using PrimitiveId in a fragment shader requires declaring
an OpCapability with either Geometry or Tessellation.
SPIRV/GlslangToSpv.cpp
Test/baseResults/spv.400.frag.out
Test/spv.400.frag