mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-04 03:05:42 +00:00
Fixed: tint:860 Change-Id: I899e280807503064fbabaafe02d37de4187b3298 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/53805 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: David Neto <dneto@google.com>
28 lines
443 B
Plaintext
28 lines
443 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
struct tint_symbol {
|
|
float4 value [[position]];
|
|
};
|
|
|
|
void transpose_31e37e() {
|
|
float2x4 res = transpose(float4x2());
|
|
}
|
|
|
|
vertex tint_symbol vertex_main() {
|
|
transpose_31e37e();
|
|
tint_symbol const tint_symbol_1 = {.value=float4()};
|
|
return tint_symbol_1;
|
|
}
|
|
|
|
fragment void fragment_main() {
|
|
transpose_31e37e();
|
|
return;
|
|
}
|
|
|
|
kernel void compute_main() {
|
|
transpose_31e37e();
|
|
return;
|
|
}
|
|
|