mirror of
https://github.com/libretro/RetroArch
synced 2025-02-01 00:32:46 +00:00
5af5222249
- https://github.com/KhronosGroup/SPIRV-Cross/commit/ 66a407285e36a0f772e3209cb86ded6e3d900f6a
10 lines
256 B
Plaintext
10 lines
256 B
Plaintext
#version 450
|
|
layout(set = 0, binding = 0) buffer myBlock {
|
|
int a;
|
|
float b[1];
|
|
} myStorage;
|
|
void main() {
|
|
myStorage.a = (myStorage.a + 1) % 256;
|
|
myStorage.b[gl_LocalInvocationID.x] = mod((myStorage.b[gl_LocalInvocationID.x] + 0.02), 1.0);
|
|
}
|