Reverted back to cpp

This commit is contained in:
Alejandro Saucedo 2020-08-22 15:21:20 +01:00
parent 18fba90ec0
commit ce00048d8c
3 changed files with 26 additions and 1 deletions

View file

@ -12,6 +12,10 @@ layout(binding = 2) buffer tensorOutput {
uint valuesOutput[ ];
};
layout(binding = 3) buffer tensorInvalid {
uint valuesInvalid[ ];
};
// TODO: Explore how to make layout inside shader dynamic
layout (local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
@ -24,6 +28,7 @@ void main()
valuesOutput[index] = 100 + index;
valuesRhs[index] = 100 + index;
valuesLhs[index] = 100 + index;
valuesInvalid[index] = 100 + index;
}

Binary file not shown.