diff options
| author | Yong He <yonghe@outlook.com> | 2024-04-19 21:02:32 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-19 21:02:32 -0700 |
| commit | beae3a9d219dac1e4e3da9c357b25d06370388f3 (patch) | |
| tree | ca4eb2a8e9ca67a130e3894c517114709576af75 /tests | |
| parent | f9bcad35562c1f08638e6d3eb397d370d7d2f8f8 (diff) | |
Add metal downstream compiler + metallib target. (#3990)
* Add metal downstream compiler + metallib target.
* Add more comments.
* Add missing override.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/metal/simple-compute.slang | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/metal/simple-compute.slang b/tests/metal/simple-compute.slang index fe797dc2c..56d8fefd4 100644 --- a/tests/metal/simple-compute.slang +++ b/tests/metal/simple-compute.slang @@ -1,9 +1,12 @@ //TEST:SIMPLE(filecheck=CHECK): -target metal +//TEST:SIMPLE(filecheck=CHECK-ASM): -target metallib uniform RWStructuredBuffer<float> outputBuffer; // CHECK: {{.*}}kernel{{.*}} void main_kernel(float device* {{.*}}) +// CHECK-ASM: define void @main_kernel + void func(float v) { outputBuffer[0] = v; |
