-
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…
-
The shader below is causing a NULL pointer access when retrieving the field layout at `slang-ir-insts.h::getFieldLayout()`, the element at `index` is null. This may be related to https://github.com/sh…
-
- Create a frac intrinsic for spirv use the hlsl intrinsic switching to swap on target.
update the frac.hlsl unit tests:
https://github.com/llvm/llvm-project/blob/1e6ce5e284f5c0e8d64eee21af727bb164eb…
-
Hello !
Currently to compile a shader one needs to specify both the **entry point** and the **shader stage** to the compiler:
- if `myshader.hlsl` contains several entry points (typical use cas…
-
I'll preface this with I am not a compiler engineer, so I don't know if this is acheivable in a reasonable amount of time/is even possible.
I have only seen one mention of Slang in another thread a…
-
[A design document for this task](https://docs.google.com/document/d/1uLCW-ATmAwZlJZ7v-VerkLIzJcetgw98Q3iAIoarUDs/edit?usp=sharing) is written by @cheneym2 .
This issue is to track the progress of …
-
The following tests in the `compute` category currently fail to compile with Metal.
All failing tests are disabled using:
```
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl
```
This …
-
To make shader porting from HLSL to Slang easier, consider supporting the `#pragma pack_matrix()` directive. Currently slangc issues a warning and ignores the directive. Support this directive could s…
-
### Description
Included are 2 shaders. A GLSL ES shader, and a direct HLSL11 port of the shader (yeah, the shaders aren't super tidy or fully optimised yet, but that's not the point)
The GLSL ES sh…
-
**Description**
DXC generates an invalid SPIR-V
**Steps to Reproduce**
`dxc -T ps_6_0 -spirv path/to/file.hlsl`
HLSL code:
```
void Get(out float2 foo)
{
foo = (float2)0;
}
float …