summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2023-08-17 03:38:22 +0800
committerGitHub <noreply@github.com>2023-08-16 12:38:22 -0700
commit6bdd19d4f9c11c3d511d4abf7cbc1f5c95cbdb7f (patch)
tree83b75e13e5ca0299e84c0304bd2132e664f47f26 /tests
parent00e2bf1cd3e30cd6560222f620b7f66fa55c1549 (diff)
Simplify IfElse instructions with a single trivial block (#3114)
Diffstat (limited to 'tests')
-rw-r--r--tests/hlsl-intrinsic/shader-execution-reordering/hit-object-output.slang.1.expected3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/hlsl-intrinsic/shader-execution-reordering/hit-object-output.slang.1.expected b/tests/hlsl-intrinsic/shader-execution-reordering/hit-object-output.slang.1.expected
index a6c28c86b..2340caa21 100644
--- a/tests/hlsl-intrinsic/shader-execution-reordering/hit-object-output.slang.1.expected
+++ b/tests/hlsl-intrinsic/shader-execution-reordering/hit-object-output.slang.1.expected
@@ -64,9 +64,6 @@ void accumulate_0(inout uint value_2, hitObjectNV hit_0)
MyAttributes_0 _S3 = HitObject_GetAttributes_0(hit_0);
value_2 = value_2 + (16U + _S3.value_0);
}
- else
- {
- }
return;
}