From 69cb6e8f300d77e74bd2c7dfe15d12e10b38f512 Mon Sep 17 00:00:00 2001 From: Alexey Panteleev Date: Wed, 18 May 2022 10:57:37 -0700 Subject: Support for querying which parameters are used in emitted code (#2239) See https://github.com/shader-slang/slang/issues/2213 --- tests/reflection/buffer-layout.slang | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/reflection/buffer-layout.slang') diff --git a/tests/reflection/buffer-layout.slang b/tests/reflection/buffer-layout.slang index 51b9680d1..b2cc3f724 100644 --- a/tests/reflection/buffer-layout.slang +++ b/tests/reflection/buffer-layout.slang @@ -4,8 +4,8 @@ // to confirm that our reflection logic correctly reports the offsets // that the compute test sees in practice. -//TEST:REFLECTION:-stage compute -entry main -target hlsl -//TEST:REFLECTION:-stage compute -entry main -target spirv +//TEST:REFLECTION:-stage compute -entry main -target hlsl -no-codegen +//TEST:REFLECTION:-stage compute -entry main -target spirv -no-codegen struct A { -- cgit v1.2.3