From 1856b8ad85266ed66985b42bd2321a35f8573a00 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Fri, 14 May 2021 18:38:08 -0400 Subject: DXC as DownstreamCompiler (#1845) * #include an absolute path didn't work - because paths were taken to always be relative. * WIP Fxc as downstream compiler. * First pass FXC downstream compiler working. * GCC compile fix. * Fix FXC parsing issue. * Special case filesystem access. * Use StringUtil getSlice. * Fix isses with not emitting source for FXC. * WIP on DXC. * Small fixes for DXBC handling. * Removed DXC from ParseDiagnosticUtil (can use generic) Try to improve output for notes from DXC. --- tests/cross-compile/dxc-error.hlsl.expected | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/cross-compile/dxc-error.hlsl.expected b/tests/cross-compile/dxc-error.hlsl.expected index 2028cd2f0..5fdc2362b 100644 --- a/tests/cross-compile/dxc-error.hlsl.expected +++ b/tests/cross-compile/dxc-error.hlsl.expected @@ -1,8 +1,8 @@ result code = -1 standard error = { -dxc: tests/cross-compile/dxc-error.hlsl:8:2: error: use of undeclared identifier 'gOutputBuffer' - gOutputBuffer[tid] = dispatchThreadID.x * 0.5f; - ^ +dxc: tests/cross-compile/dxc-error.hlsl(8): error : use of undeclared identifier 'gOutputBuffer' +dxc: note : gOutputBuffer[tid] = dispatchThreadID.x * 0.5f; +dxc: note : ^ } standard output = { } -- cgit v1.2.3