mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-04 11:15:46 +00:00
Bug: tint:1301 Change-Id: Id3a591a2fa0dfdb112046d5c57defbae07483e0d Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/69480 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org>
23 lines
175 B
GLSL
23 lines
175 B
GLSL
#version 310 es
|
|
precision mediump float;
|
|
|
|
float v = 0.0f;
|
|
|
|
void x(inout float p) {
|
|
p = 0.0f;
|
|
}
|
|
|
|
void g() {
|
|
x(v);
|
|
}
|
|
|
|
void f() {
|
|
g();
|
|
return;
|
|
}
|
|
void main() {
|
|
f();
|
|
}
|
|
|
|
|