-
**Description**
DXC generates an invalid SPIR-V
**Steps to Reproduce**
`dxc -T cs_6_0 -spirv path/to/file.hlsl`
HLSL code:
```
RWStructuredBuffer Out;
[numthreads(1, 1, 1)]
void main(u…
-
In this repository we have `.cl` tests which are being compiled for spir target emitting LLVM IR, that will be translated to SPIR-V and backwards. The suggestion is to compile them for spirv target as…
-
```
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v16:16:16-v24:32:32-v32:32:32-v48:64:64-v64:64:64-v96:128:128-v12
8:128:128-v192:256:256-v256:25…
-
```
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v16:16:16-v24:32:32-v32:32:32-v48:64:64-v64:64:64-v96:128:128-v12
8:128:128-v192:256:256-v256:25…
-
**Description**
Small shader crashes DXC. Verified with nightlies.
**Steps to Reproduce**
Commandline:
`dxc.exe -T cs_6_2 -E csAccumulate -spirv -fspv-target-env="vulkan1.1" -Fo output.spv …
-
**Description**
LLVM assertion failed.
**Steps to Reproduce**
`dxc -T cs_6_0 -spirv path/to/file.hlsl`
HLSL code:
```
RWSturcturedBuffer Out;
[numthreads(1, 1, 1)]
void main()
{
Out[0…
-
The following code works when targeting DXIL and fails to compile when targeting SPIRV
SPIRV:
```bash
DXC_Debug_BUILD/bin/dxc scratch/asuint_spirv_test.hlsl -T lib_6_8 -enable-16bit-types -spirv -f…
-
**Description**
Structs with a specific setup of bitfields fail to compile to SPIR-V with the error
```
fatal error: generated SPIR-V is invalid: Index is out of bounds, can not find index 1 in …
-
When a 64-bit immediate value is used in a switch construct, the SPIR-V emitter splits the 64bit int into 2 32-bit integers, causing a bad instruction to be generated:
```
OpSwitch %5 %8 429496729…
-
Shader Model 6.7 added [Raw Gather Methods](https://microsoft.github.io/DirectX-Specs/d3d/HLSL_SM_6_7_Advanced_Texture_Ops.html#raw-gather-methods) which are currently unimplemented in the SPIR-V back…