diff options
| author | Yong He <yonghe@outlook.com> | 2023-05-31 14:28:45 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-31 14:28:45 -0700 |
| commit | 02bb741a8d1b4ed31a65c46b7e43d153b42a7b73 (patch) | |
| tree | 1a548e812568de27b8fffcc2e251596e9d729177 /tests/pipeline | |
| parent | 5dd401e416e18fdfe904a66284b0cf56cf256ec7 (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.slang | 2 |
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; |
