summaryrefslogtreecommitdiff
path: root/tests/bindings/multi-file.hlsl
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-03-01 15:24:16 -0800
committerGitHub <noreply@github.com>2024-03-01 15:24:16 -0800
commit9a1e327387ffa8552ac2f0aee8836a0b10a5578f (patch)
tree2efdf8c0a62d517c615ef049d1b2ae6f75c630cf /tests/bindings/multi-file.hlsl
parente752a957c452abc1db2e160c738496b47aad2858 (diff)
Make slangc commandline parsing compatible with renderdoc. (#3658)
* Make slangc commandline parsing compatible with renderdoc. * Fix tests.
Diffstat (limited to 'tests/bindings/multi-file.hlsl')
-rw-r--r--tests/bindings/multi-file.hlsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bindings/multi-file.hlsl b/tests/bindings/multi-file.hlsl
index 73ce181b0..1bf025d9c 100644
--- a/tests/bindings/multi-file.hlsl
+++ b/tests/bindings/multi-file.hlsl
@@ -1,4 +1,4 @@
-//TEST:COMPARE_HLSL:-no-mangle -profile sm_4_0 -entry main -stage vertex Tests/bindings/multi-file-extra.hlsl -entry main -stage fragment
+//TEST:COMPARE_HLSL:-no-mangle -profile sm_4_0 -entry main1 -stage vertex Tests/bindings/multi-file-extra.hlsl -entry main -stage fragment
// Here we are going to test that we can correctly generating bindings when we
// are presented with a program spanning multiple input files (and multiple entry points)
@@ -26,7 +26,7 @@ BEGIN_CBUFFER(vertexC)
}
END_CBUFFER(vertexC, register(b0))
-float4 main() : SV_POSITION
+float4 main1() : SV_POSITION
{
// Go ahead and use everything here, just to make sure things got placed correctly
return use(sharedT, sharedS)