Files
Noita-GPU-Vulkan/shaders/rigid_commit.comp
T
2026-10-19 20:59:15 +02:00

12 lines
292 B
Plaintext

#version 450
#extension GL_GOOGLE_include_directive : require
layout(local_size_x = 64) in;
#include "rigid_common.glsl"
// Copies the sub-step result back into the body state.
void main() {
uint b = gl_GlobalInvocationID.x;
if (int(b) >= bhdr.x) return;
bodies[b] = bnext[b];
}