-
The following shader to compute a mandelbrot set crashes the DXIL Data Scalarizer:
```hlsl
RWBuffer Tex;
const static float3 Palette[8] = {float3(0.0, 0.0, 0.0), float3(0.5, 0.5, 0.5),
…
-
DXIL output contains various flags that tell the runtime about what optional features the shader might be using - for example, wave operations, doubles, 64-bit integers.
All shader flags specified in…
-
this dxil is generate from Microsoft dxbc2dxil tool, but convert to spirv the following error occurred,
![image](https://github.com/user-attachments/assets/587adb33-032b-440b-82db-23bcb4441f0a)
[cs5…
-
The DxilOpLower pass does not apply attributes indicated by DXIL.td. In addition, the DXIL Op tablegen emitter doesn't properly include multiple attributes for the Op as it tries to OR them together l…
-
The following HLSL (compiled with DXC's flags for dx buffer layouts) produces incorrect spirv-reflect behavior:
```hlsl
struct Nicu {
float a, b;
uint64_t c;
uint16_t d;
float16_t e;
int16…
-
## HLSL Compilation Problem
HLSL compilation to DXBC/DXIL is quite a pain right now. We have two main options in HLSL compiler and they both have significant downsides.
### FXC (aka D3DCompiler…
-
https://github.com/hexops/mach-dxcompiler (CC-BY-4.0) :
features(copied):
- Statically linked dxcompiler library and dxc executables.
- Zero dependency on proprietary dxil.dll code-signing blob (se…
-
From @venkataram-nv
I found another case where slang crashes with varLayout:
**file: buffers.slang**
```
module buffers;
public cbuffer SceneConstants
{
public float far_plane_distan…
-
In #109331 we need to replace an anonymous struct with a named `%dx.types.splitdouble` struct during lowering to DXIL ops, and there are a few other operations that need to undergo a similar transform…
-
Information on the current plan for how we're using attributes on the resource type in the clang AST to translate to DXIL is scattered about several different issues and various meeting notes, which c…