mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-15 01:26:06 +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>
37 lines
694 B
GLSL
37 lines
694 B
GLSL
SKIP: FAILED
|
|
|
|
#version 310 es
|
|
precision mediump float;
|
|
|
|
struct tint_symbol {
|
|
vec4 value;
|
|
};
|
|
|
|
vec4 frag_main_inner() {
|
|
float b = 0.0f;
|
|
vec3 v = vec3((b).xxx);
|
|
return vec4(v, 1.0f);
|
|
}
|
|
|
|
tint_symbol frag_main() {
|
|
vec4 inner_result = frag_main_inner();
|
|
tint_symbol wrapper_result = tint_symbol(vec4(0.0f, 0.0f, 0.0f, 0.0f));
|
|
wrapper_result.value = inner_result;
|
|
return wrapper_result;
|
|
}
|
|
out vec4 value;
|
|
void main() {
|
|
tint_symbol outputs;
|
|
outputs = frag_main();
|
|
value = outputs.value;
|
|
}
|
|
|
|
|
|
Error parsing GLSL shader:
|
|
ERROR: 0:10: 'scalar swizzle' : not supported with this profile: es
|
|
ERROR: 0:10: '' : compilation terminated
|
|
ERROR: 2 compilation errors. No code generated.
|
|
|
|
|
|
|