summaryrefslogtreecommitdiff
path: root/tests/pipeline
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-05-31 14:28:45 -0700
committerGitHub <noreply@github.com>2023-05-31 14:28:45 -0700
commit02bb741a8d1b4ed31a65c46b7e43d153b42a7b73 (patch)
tree1a548e812568de27b8fffcc2e251596e9d729177 /tests/pipeline
parent5dd401e416e18fdfe904a66284b0cf56cf256ec7 (diff)
Preserve type cast during AST constant folding. (#2912)
* Preserve type cast during AST constant folding. Fixes #2891. * Fix. * Fix truncating. * fix test. --------- Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tests/pipeline')
-rw-r--r--tests/pipeline/ray-tracing/ray-query-subroutine.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pipeline/ray-tracing/ray-query-subroutine.slang b/tests/pipeline/ray-tracing/ray-query-subroutine.slang
index 3279acc12..74489b6f8 100644
--- a/tests/pipeline/ray-tracing/ray-query-subroutine.slang
+++ b/tests/pipeline/ray-tracing/ray-query-subroutine.slang
@@ -7,7 +7,7 @@
RWStructuredBuffer<int> gOutput;
RaytracingAccelerationStructure gScene;
-float3 helper<let N : int>(RayQuery<N> q)
+float3 helper<let N : uint>(RayQuery<N> q)
{
RayDesc ray;
ray.Origin = 0;