From de6ca4df6668aa4f3f5113410e2e898e37cd7bc4 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Tue, 6 Nov 2018 19:17:10 -0500 Subject: Made sameStageSpecifiedMoreThanOnce a warning instead of an error. (#714) --- .../command-line/entry-point-redundant-stage.slang.1.expected | 5 +++-- .../command-line/entry-point-redundant-stage.slang.expected | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/diagnostics/command-line/entry-point-redundant-stage.slang.1.expected b/tests/diagnostics/command-line/entry-point-redundant-stage.slang.1.expected index 36674b409..83eba2fb4 100644 --- a/tests/diagnostics/command-line/entry-point-redundant-stage.slang.1.expected +++ b/tests/diagnostics/command-line/entry-point-redundant-stage.slang.1.expected @@ -1,6 +1,7 @@ -result code = 1 +result code = -1 standard error = { -(0): error 30: the stage 'vertex' was specified more than once for entry point 'vsMain' +(0): warning 30: the stage 'vertex' was specified more than once for entry point 'vsMain' +tests/diagnostics/command-line/entry-point-redundant-stage.slang(6): error 38000: no function found matching entry point name 'vsMain' } standard output = { } diff --git a/tests/diagnostics/command-line/entry-point-redundant-stage.slang.expected b/tests/diagnostics/command-line/entry-point-redundant-stage.slang.expected index e5a66e0fd..a69cae93e 100644 --- a/tests/diagnostics/command-line/entry-point-redundant-stage.slang.expected +++ b/tests/diagnostics/command-line/entry-point-redundant-stage.slang.expected @@ -1,6 +1,7 @@ -result code = 1 +result code = -1 standard error = { -(0): error 30: the stage 'vertex' was specified more than once for entry point 'main' +(0): warning 30: the stage 'vertex' was specified more than once for entry point 'main' +tests/diagnostics/command-line/entry-point-redundant-stage.slang(6): error 38000: no function found matching entry point name 'main' } standard output = { } -- cgit v1.2.3