Files
DroidDeck/tools/vkbridge/tests/shaders/smoke.comp
T
ahmadandClaude Opus 5.5 d82c42d818 feat(vkbridge): self-checking smoke test, frame dump, WSI extensions and crash log on the server
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
2026-10-10 14:27:54 +03:00

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;
}