SPV: Fix issue #369, don't support gl_NumSamples -> SPIR-V.

This commit is contained in:
John Kessenich
2017-01-02 17:01:21 -07:00
parent f37f4d23fc
commit bc5196c003
5 changed files with 15 additions and 6 deletions

View File

@@ -92,4 +92,6 @@ void callUserTexture()
userTexture((sampler2D(t2d,s)), vTexCoord); // ERROR, not point of use
userTexture((sampler2D(t2d,s), sampler2D(t2d,s)), vTexCoord); // ERROR, not point of use
userTexture(cond ? sampler2D(t2d,s) : sampler2D(t2d,s), vTexCoord); // ERROR, no ?:, not point of use
gl_NumSamples; // ERROR, not for Vulkan
}