X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tests%2Fglsl%2Fnested_member_access.glsl;h=3f7034cef0951d528ae24d2cb4bc76da8fb90dcb;hb=97d26f5179e82cd2faf476a9605f8a4f4b33a926;hp=60b3a492ebca98d44a320e98022c4fd181a448e4;hpb=4b9c9f565bb0335034dc8c2c7ad833ee42251d5d;p=libs%2Fgl.git diff --git a/tests/glsl/nested_member_access.glsl b/tests/glsl/nested_member_access.glsl index 60b3a492..3f7034ce 100644 --- a/tests/glsl/nested_member_access.glsl +++ b/tests/glsl/nested_member_access.glsl @@ -21,6 +21,8 @@ void main() frag_color = vec4(light_color[light_index], 1.0); } +// Target API: Vulkan + /* Expected output: vertex layout(location=0) in vec4 position; void main() @@ -30,11 +32,11 @@ void main() */ /* Expected output: fragment -layout(binding=5) uniform Lighting +layout(set=0, binding=65) uniform Lighting { vec3 light_color[4]; }; -layout(binding=80) uniform Params +layout(set=0, binding=56) uniform Params { int light_index; };