diff --git a/test/TestOpShadersFromStringAndFile.cpp b/test/TestOpShadersFromStringAndFile.cpp index 06772cf15..246644c26 100644 --- a/test/TestOpShadersFromStringAndFile.cpp +++ b/test/TestOpShadersFromStringAndFile.cpp @@ -14,9 +14,12 @@ TEST(TestOpAlgoBase, ShaderRawDataFromConstructor) { std::string shader(R"( #version 450 + layout (local_size_x = 1) in; + layout(set = 0, binding = 0) buffer a { float pa[]; }; layout(set = 0, binding = 1) buffer b { float pb[]; }; + void main() { uint index = gl_GlobalInvocationID.x; pb[index] = pa[index];