diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2021-05-14 17:50:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-14 17:50:00 -0400 |
| commit | d4316c88457a32f1169b2d7d82053ccbc05fa7ed (patch) | |
| tree | cbc87350b9ef2f5be31ebc20783e08b895767779 /tests | |
| parent | 79d106fac18f5792fcac448a0b037aa834fa6042 (diff) | |
FXC as DownstreamCompiler (#1844)
* #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.
* Small fixes for DXBC handling.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/cross-compile/fxc-error.hlsl.expected | 2 | ||||
| -rw-r--r-- | tests/hlsl-intrinsic/texture/gather-texture2darray.slang.hlsl | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/cross-compile/fxc-error.hlsl.expected b/tests/cross-compile/fxc-error.hlsl.expected index b3fa55696..98385feff 100644 --- a/tests/cross-compile/fxc-error.hlsl.expected +++ b/tests/cross-compile/fxc-error.hlsl.expected @@ -1,6 +1,6 @@ result code = -1 standard error = { -fxc: tests/cross-compile/fxc-error.hlsl(8,2-14): error X3004: undeclared identifier 'gOutputBuffer' +fxc 47.0: tests/cross-compile/fxc-error.hlsl(8): error X3004: undeclared identifier 'gOutputBuffer' } standard output = { } diff --git a/tests/hlsl-intrinsic/texture/gather-texture2darray.slang.hlsl b/tests/hlsl-intrinsic/texture/gather-texture2darray.slang.hlsl index de07f93ca..3865c45b6 100644 --- a/tests/hlsl-intrinsic/texture/gather-texture2darray.slang.hlsl +++ b/tests/hlsl-intrinsic/texture/gather-texture2darray.slang.hlsl @@ -6,7 +6,8 @@ Texture2DArray<uint> t_0; SamplerState s_0; RWBuffer<uint4> b_0; -[shader("compute")] +// Attribute not understood by fxc +//[shader("compute")] [numthreads(32, 1, 1)] void main(uint3 tid : SV_DISPATCHTHREADID) { |
