Migrated default base type of tensor to float
This commit is contained in:
parent
00c66f347b
commit
08a1300450
13 changed files with 255 additions and 249 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue