diff options
| author | ArielG-NV <159081215+ArielG-NV@users.noreply.github.com> | 2024-06-25 20:07:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-25 20:07:55 -0400 |
| commit | 63e0064bd3a2007adf17a35d3c58894d90ddc04a (patch) | |
| tree | 3e0a57fee588bfba61f07a98750c49a1ea73478b /tests/optimization | |
| parent | e2b56d015e9cd6c9401e38aff9a303121d50c1e1 (diff) | |
Fix return type address space checking. (#4465)
solves: `func-resource-result-simple.slang`, related to #4291
when getting the address space of a function return we now check the return address of the inst if the return type is a non pointer type.
Diffstat (limited to 'tests/optimization')
| -rw-r--r-- | tests/optimization/func-resource-result/func-resource-result-simple.slang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/optimization/func-resource-result/func-resource-result-simple.slang b/tests/optimization/func-resource-result/func-resource-result-simple.slang index 3ca345816..80342e569 100644 --- a/tests/optimization/func-resource-result/func-resource-result-simple.slang +++ b/tests/optimization/func-resource-result/func-resource-result-simple.slang @@ -3,7 +3,7 @@ //TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -shaderobj //TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute -shaderobj //TEST(compute):COMPARE_COMPUTE_EX:-cpu -compute -shaderobj -//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl +//TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl // Test that a function that returns a resource type can be // compiled for targets that don't natively support resource |
