mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-14 03:11:29 +00:00
Fixed: tint:477 Change-Id: I087c24904ab2f38524ab2c39092fbfb277fdba3b Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/55256 Auto-Submit: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
18 lines
196 B
Plaintext
18 lines
196 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
struct S {
|
|
int i;
|
|
uint u;
|
|
float f;
|
|
bool b;
|
|
};
|
|
struct tint_array_wrapper {
|
|
S arr[4];
|
|
};
|
|
|
|
void f() {
|
|
tint_array_wrapper v = {.arr={}};
|
|
}
|
|
|