try to do kernel decomp
This commit is contained in:
@@ -19,9 +19,5 @@ layout(binding = 0) buffer inoutBufer { uint v[]; };
|
||||
void main() {
|
||||
uint gIDx = gl_GlobalInvocationID.x;
|
||||
|
||||
if (gIDx + p.offset >= p.size) {
|
||||
return;
|
||||
}
|
||||
|
||||
v[gIDx] += v[gIDx + p.offset];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user