mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-20 05:16:01 +00:00
Smoke test passes 9/9 through the bridge on RADV (dmabuf) and lavapipe (hostptr, UMA model); vkcube renders correctly over Wayland dma-buf, wl_shm and X11. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KZqR8XUE8czvGzEpgSCVQR
10 lines
335 B
Plaintext
10 lines
335 B
Plaintext
#version 450
|
|
layout(local_size_x = 64) in;
|
|
layout(std430, binding = 0) readonly buffer In { uint v[]; } src;
|
|
layout(std430, binding = 1) writeonly buffer Out { uint v[]; } dst;
|
|
layout(push_constant) uniform PC { uint mul; uint add; } pc;
|
|
void main() {
|
|
uint i = gl_GlobalInvocationID.x;
|
|
dst.v[i] = src.v[i] * pc.mul + pc.add;
|
|
}
|