diff options
Diffstat (limited to 'tests/metal')
| -rw-r--r-- | tests/metal/out-param.slang | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/tests/metal/out-param.slang b/tests/metal/out-param.slang index e488f8844..68b6e2b62 100644 --- a/tests/metal/out-param.slang +++ b/tests/metal/out-param.slang @@ -9,13 +9,20 @@ //TEST_INPUT: ubuffer(data=[0 0 0 0], stride=4):out,name outputBuffer RWStructuredBuffer<int> outputBuffer; -// METAL: void Test_out_param{{.*}}(int thread* value{{.*}}) -// METAL: void Test_out_param{{.*}}(int device* value{{.*}}) -// METAL: void Test_out_param{{.*}}(int threadgroup* value{{.*}}) +// CHECK-DAG: void Test_out_param{{.*}}(int thread* value{{.*}}) +// CHECK-DAG: void Test_out_param{{.*}}(int threadgroup* value{{.*}}) +// CHECK-DAG: void Test_out_param{{.*}}(int {{.*}}, KernelContext{{.*}} thread* {{.*}}) + +// CHECK-DAG: void Test_out_param_wrapper{{.*}}(int {{.*}}, KernelContext{{.*}} thread* {{.*}}) +// CHECK-DAG: void Test_out_param_wrapper{{.*}}(int thread* value{{.*}}) +// CHECK-DAG: void Test_out_param_wrapper{{.*}}(int threadgroup* value{{.*}}) + +// METAL-DAG: void Test_out_param{{.*}}(int thread* value{{.*}}) +// METAL-DAG: void Test_out_param{{.*}}(int threadgroup* value{{.*}}) + +// METAL-DAG: void Test_out_param_wrapper{{.*}}(int thread* value{{.*}}) +// METAL-DAG: void Test_out_param_wrapper{{.*}}(int threadgroup* value{{.*}}) -// METAL: void Test_out_param_wrapper{{.*}}(int thread* value{{.*}}) -// METAL: void Test_out_param_wrapper{{.*}}(int device* value{{.*}}) -// METAL: void Test_out_param_wrapper{{.*}}(int threadgroup* value{{.*}}) void Test_out_param(out int value) { |
