mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-15 03:41:34 +00:00
docs/ -> docs/tint/ fuzzers/ -> src/tint/fuzzers/ samples/ -> src/tint/cmd/ src/ -> src/tint/ test/ -> test/tint/ BUG=tint:1418,tint:1433 Change-Id: Id2aa79f989aef3245b80ef4aa37a27ff16cd700b Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/80482 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
18 lines
263 B
GLSL
18 lines
263 B
GLSL
#version 310 es
|
|
precision mediump float;
|
|
|
|
layout(location = 0) out vec4 value;
|
|
struct MyStruct {
|
|
float f1;
|
|
};
|
|
|
|
vec4 tint_symbol() {
|
|
return vec4(0.0f, 0.0f, 0.0f, 0.0f);
|
|
}
|
|
|
|
void main() {
|
|
vec4 inner_result = tint_symbol();
|
|
value = inner_result;
|
|
return;
|
|
}
|