-
breaks compile of (non exhaustive list, seems to be quite a number of tests):
`tests\compute\constexpr.slang`
`tests\compute\compile-time-loop.slang`
`tests\compute\discard-stmt.slang`
`tests\comp…
-
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…
-
When we run "slangc.exe", `_CrtDumpMemoryLeaks()` reports the memory leaks on Windows platform.
The memory leak has been reported for a while but it has been ignored.
It is because the messages are …
-
Our cmake build seems still unfinished for building examples. Even though there are flags to enable them
```
option(SLANG_ENABLE_GFX "Enable gfx targets" ON)
option(SLANG_ENABLE_EXAMPLES "Enable …
-
### mpv Information
```bash
mpv v0.38.0-476-gd2bd77ad Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
built on Jun 9 2024 00:05:17
libplacebo version: v7.349.0 (v7.349.0-rc1-2-gbc9de9c-dirty)…
-
Curious how slang handles forward declaration of functions. I'm porting the shader below from HLSL to Slang and getting an ambiguous function call error. It seems like the forward declarations are bei…
-
It appears that Slang does not support a `class` data structure? I couldn't find an example of a `class` in the tests. When I try to compile the shader below, I get this error:
```
(0): error 99999:…
-
I've been hunting down some unexpected behavior, and in the process found that the example from https://shader-slang.com/slang/user-guide/convenience-features.html#initializers won't even compile for …
-
I wasn't able to find in the documentation any discussion of the global namespace scope resolution operator `::`. I'm running into a slightly confusing case with it. For the shader below, it seems to …
-
Shader below is hitting this assert in `slang-ir-specialize-function-call.cpp::canSpecializeCall()`:
```
for( auto param : func->getParams() )
{
UInt argIndex = argCoun…