SPV/OpenGL: Require locations on non-opaque uniform variables.
diff --git a/Test/spv.targetOpenGL.vert b/Test/spv.targetOpenGL.vert
index 0920334..6d68a33 100755
--- a/Test/spv.targetOpenGL.vert
+++ b/Test/spv.targetOpenGL.vert
@@ -1,8 +1,9 @@
 #version 450

 

 layout(constant_id = 3) const int a = 2;

-

-uniform float f;

+layout(location = 2) uniform float f;

+layout(location = 4) uniform sampler2D s1;

+uniform sampler2D s2;

 

 void main()

 {