SPV: Don't support noise*() when generating SPV.

This commit is contained in:
John Kessenich
2017-11-03 03:39:48 -06:00
parent af52799c2d
commit 2edde6665d
6 changed files with 32 additions and 8 deletions

View File

@@ -16,4 +16,12 @@ layout(location = 2) uniform float g;
uniform sampler2D s1;
layout(location = 3) uniform sampler2D s2;
void noise()
{
noise1(vec4(1));
noise2(4.0);
noise3(vec2(3));
noise4(1);
}
layout(input_attachment_index = 1) uniform subpassInput sub; // ERROR, no inputs