mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-02 18:25:56 +00:00
Bug: tint:1314 Change-Id: Ic7a88761752d2db3374be043c94f02fd20684c03 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/69560 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org>
44 lines
603 B
GLSL
44 lines
603 B
GLSL
#version 310 es
|
|
precision mediump float;
|
|
|
|
|
|
layout (binding = 0) buffer SB_RW_1 {
|
|
uint arg_0;
|
|
} sb_rw;
|
|
|
|
void atomicLoad_fe6cc3() {
|
|
uint res = atomicOr(sb_rw.arg_0, 0u);
|
|
}
|
|
|
|
void fragment_main() {
|
|
atomicLoad_fe6cc3();
|
|
return;
|
|
}
|
|
void main() {
|
|
fragment_main();
|
|
}
|
|
|
|
|
|
#version 310 es
|
|
precision mediump float;
|
|
|
|
|
|
layout (binding = 0) buffer SB_RW_1 {
|
|
uint arg_0;
|
|
} sb_rw;
|
|
|
|
void atomicLoad_fe6cc3() {
|
|
uint res = atomicOr(sb_rw.arg_0, 0u);
|
|
}
|
|
|
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
|
void compute_main() {
|
|
atomicLoad_fe6cc3();
|
|
return;
|
|
}
|
|
void main() {
|
|
compute_main();
|
|
}
|
|
|
|
|