mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-26 09:21:04 +01:00
* [glsl-out] Fix writing named expressions with array types * [wgsl-out] Remove unsupported builtin from baked expression * [glsl-out] Add a newline between globals for readability * Set bake_ref_count to 1 for Expression::Load * Update snapshot data
15 lines
176 B
GLSL
15 lines
176 B
GLSL
#version 310 es
|
|
|
|
precision highp float;
|
|
|
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
|
|
|
shared float wg[10];
|
|
|
|
|
|
void main() {
|
|
wg[3] = 1.0;
|
|
return;
|
|
}
|
|
|