Dan Brown
Dan Brown
Unions support in HLSL.
The SM 6.8 staging branch lacks support for work graphs for the SPIR-V target.
Fixes #3092
Working on HLSL support; don't want to keep bugging reviewers to merge PRs for me.
Confirmed for [b44890fe1e](https://github.com/microsoft/DirectXShaderCompiler/tree/b44890fe1e0c02669b7290d7eab573ea35f896b2). ```hlsl // empty_embedded_struct.hlsl struct s0 {}; struct s1 { s0 a; uint b; }; s1 main() : OUT { s1 s; return s; } // $ dxc...
**Description** dxc allows uniform initialization syntax for structs containing bitfields but crashes when invoked with -spirv. **Steps to Reproduce** https://godbolt.org/z/9vPeM38a3 ```hlsl // dxc -spirv -T cs_6_4 -HV 2021 -E main...
Multiple errors of the form "cannot convert from 'const char[_n_] to 'const wchar_t *'" occur during a build (VS 2022, Windows SDK 10.0.26100). I gather that the WexLogger API has...
frexp() always returns a positive mantissa, even for negative input. In this [example](https://godbolt.org/z/fMaGa3Wbd), the first float argument at output line 7 should be -0.5 rather than 0.5.