mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-03 18:55:39 +00:00
Fixed: tint:1029 Change-Id: Ie367947bd9bf65ad6bb2c278bbe4bd0740512faa Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/59446 Reviewed-by: David Neto <dneto@google.com> Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
28 lines
423 B
Plaintext
28 lines
423 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
struct tint_symbol {
|
|
float4 value [[position]];
|
|
};
|
|
|
|
void mix_2fadab() {
|
|
float2 res = mix(float2(), float2(), 1.0f);
|
|
}
|
|
|
|
vertex tint_symbol vertex_main() {
|
|
mix_2fadab();
|
|
tint_symbol const tint_symbol_1 = {.value=float4()};
|
|
return tint_symbol_1;
|
|
}
|
|
|
|
fragment void fragment_main() {
|
|
mix_2fadab();
|
|
return;
|
|
}
|
|
|
|
kernel void compute_main() {
|
|
mix_2fadab();
|
|
return;
|
|
}
|
|
|