mirror of
https://github.com/pithings/unkernel.git
synced 2026-12-05 04:00:24 +08:00
8 lines
276 B
Plaintext
8 lines
276 B
Plaintext
// SPDX-License-Identifier: MIT
|
|
// Copyright (C) 2026 Pooya Parsa <pooya@pi0.io>
|
|
#version 450
|
|
layout(local_size_x = 64) in;
|
|
layout(constant_id = 0) const uint MUL = 1;
|
|
layout(set = 0, binding = 0) buffer B { uint v[]; } b;
|
|
void main() { b.v[gl_GlobalInvocationID.x] *= MUL; }
|