Migrated default base type of tensor to float

This commit is contained in:
Alejandro Saucedo 2020-08-31 16:01:27 +01:00
parent 00c66f347b
commit 08a1300450
13 changed files with 255 additions and 249 deletions

View file

@ -1,7 +1,7 @@
#version 450
layout (local_size_x = 1) in;
layout(set = 0, binding = 0) buffer a { uint pa[]; };
layout(set = 0, binding = 1) buffer b { uint pb[]; };
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];