commit | 67eb497002d1d9b09831c4d3bb2b510dd148d582 | [log] [tgz] |
---|---|---|
author | John Kessenich <cepheus@frii.com> | Fri Jul 21 13:36:33 2017 -0600 |
committer | John Kessenich <cepheus@frii.com> | Fri Jul 21 13:37:46 2017 -0600 |
tree | e7b6bc3a8e053d79e102a68d7e203c69aafba156 | |
parent | ab0086754e6643df76ac4fb6cc62ee3f593735a9 [diff] [blame] |
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() {