-
Running textured-quad, sprite2d sysgpu examples on Windows / D3D12 fails.
```
zig build run-core-sysgpu-textured-quad
mach\zig-out\bin\Shader@0x0000015909B90800(7,25): warning X3578: Output va…
-
- [ ] Implement `InstanceID` clang builtin,
- [ ] Link `InstanceID` clang builtin with `hlsl_intrinsics.h`
- [ ] Add sema checks for `InstanceID` to `CheckHLSLBuiltinFunctionCall` in `SemaChecking.cpp…
-
I see that #488 was closed as completed. However, it doesn't look `unsigned int` works. The below shader results in the following error message when `unsigned` is used with `int`:
```
shader.hlsl(26…
-
Currently, Slang does not support vector types for the `and` intrinsic:
```
shader.hlsl(14): error 30019: expected an expression of type 'bool', got 'vector'
n = and(m, l);
^
shad…
-
DXC allows for left side cast during assignment (copy), I'm getting this error when I compile the shader below:
```
shader.hlsl(36): error 30011: left of '=' is not an l-value.
(Derived)dd2 = (…
-
For the shader below, Slang current generates the following error due to the implementation of `A::B::AddBlue()` and `A::AddGreen()` living outside the namespace:
```
shader.hlsl(46): error 20001: u…
-
**Description**
On HLSL 5.1. we can have:
```
float nan_f32() { return 1.#IND; }
```
Without HLSL 6.x. alternative:
` error: invalid suffix '#IND' on floating constant`
Do we have plan …
-
When using `const` in a `typedef` statement I get his error:
```
shader.hlsl(4): internal error 99999: unexpected condition encountered in Slang compiler: unknown type modifier in semantic checking
…
-
Note
could not be reproduced in SG by user
-- testing SG graph with 'additional motion vectors' set to 'timebased' or 'custom' and no compile errors showing
ASE Error:
Shader error in 'New Amp…
-
When compiling this shader:
```
StructuredBuffer g_mask;
float4 main(uint4 input0 : ATTR0) : SV_Target {
uint4 mask = g_mask[0];
uint4 res1 = WaveMultiPrefixProduct(input0, mask);
…