mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-14 19:31:25 +00:00
Fixed many tests that had empty structures. Change-Id: Id91312afa39a6293426f99d0dd12578dba46aa61 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/56621 Auto-Submit: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
18 lines
484 B
Plaintext
18 lines
484 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
struct S {
|
|
float a;
|
|
};
|
|
struct tint_array_wrapper {
|
|
float arr[4];
|
|
};
|
|
|
|
void foo(bool param_bool, int param_i32, uint param_u32, float param_f32, int2 param_v2i32, uint3 param_v3u32, float4 param_v4f32, float2x3 param_m2x3, tint_array_wrapper param_arr, S param_struct, thread float* const param_ptr_f32, thread float4* const param_ptr_vec, thread tint_array_wrapper* const param_ptr_arr) {
|
|
}
|
|
|
|
kernel void tint_symbol() {
|
|
return;
|
|
}
|
|
|