12 lines
189 B
Plaintext
12 lines
189 B
Plaintext
|
|
layout(set=0, binding=0) uniform constants {
|
||
|
|
int x;
|
||
|
|
};
|
||
|
|
|
||
|
|
layout(set=0, binding=1) buffer outputBuffer {
|
||
|
|
int[] results;
|
||
|
|
};
|
||
|
|
|
||
|
|
void main() {
|
||
|
|
results[sk_GlobalInvocationID.x] *= x;
|
||
|
|
}
|