Added spaces to shader
This commit is contained in:
parent
6e3c6a1f75
commit
0d3921b345
1 changed files with 3 additions and 0 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue