Added spaces to shader

This commit is contained in:
Alejandro Saucedo 2020-09-05 08:21:48 +01:00
parent 6e3c6a1f75
commit 0d3921b345

View file

@ -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];