mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-05 06:03:34 +00:00
This fixes issues with passing constant arrays to functions. Change-Id: I6e2f1c3f64df836c0b6a55ab925cf3c2bc317733 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51861 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>
14 lines
414 B
Plaintext
14 lines
414 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
struct S {
|
|
};
|
|
|
|
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, float const param_arr[4], S param_struct, thread float* const param_ptr_f32, thread float4* const param_ptr_vec, thread float (*const param_ptr_arr)[4]) {
|
|
}
|
|
|
|
kernel void tint_symbol() {
|
|
return;
|
|
}
|
|
|