summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2022-05-10 13:05:18 -0400
committerGitHub <noreply@github.com>2022-05-10 13:05:18 -0400
commit8a02d1302264f37394736f953d318b431f64005e (patch)
tree438374f864113ad7b0b65f45ef2f31e621d0f524 /tests
parent8c540f216f9fe9366bbe57732063607b41344b9f (diff)
Add support for `spirv_literal` (#2227)
* #include an absolute path didn't work - because paths were taken to always be relative. * Add SPIRVLiteralType, to mark types that have spirv_literal in function parameter output. * Update test result. Co-authored-by: Theresa Foley <10618364+tangent-vector@users.noreply.github.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/experimental/liveness/liveness.slang.expected4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/experimental/liveness/liveness.slang.expected b/tests/experimental/liveness/liveness.slang.expected
index ce0298799..d8dcc1f62 100644
--- a/tests/experimental/liveness/liveness.slang.expected
+++ b/tests/experimental/liveness/liveness.slang.expected
@@ -102,12 +102,12 @@ layout(std430, binding = 0) buffer _S5 {
#line 4
spirv_instruction(id = 256)
-void livenessStart_0(spirv_by_reference SomeStruct_0 _0, int _1);
+void livenessStart_0(spirv_by_reference SomeStruct_0 _0, spirv_literal int _1);
#line 62
spirv_instruction(id = 257)
-void livenessEnd_0(spirv_by_reference SomeStruct_0 _0, int _1);
+void livenessEnd_0(spirv_by_reference SomeStruct_0 _0, spirv_literal int _1);
#line 46