slang icon indicating copy to clipboard operation
slang copied to clipboard

Making it easier to work with shaders

Results 496 slang issues
Sort by recently updated
recently updated
newest added

On top of #2357 In the previous PR there is some discussion around using 'associated' for 'metadata'. In the previous implementation the majority of information would be IArtifact types including...

Removes CompileResult and uses IArtifact. * Uses a wrapping mechanism for DownstreamCompileArtifact * Uses 'container' for most artifact results * The container contains meta data + result Moving forward it...

I want to use Debug Printf extension available in Vulkan Validation Layers, described [here](https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/master/docs/debug_printf.md). GL_EXT_debug_printf seems to be unsupported by slangc.exe. In HLSL with glslangValidator.exe, following should work: ``` void...

Having an entry point called `main` can be a problem when compilation goes through a C/C++ backend, because it at least some C++ compilers require `main` conform to the normal...

The optimization level set in `TargetDesc`s defined in slang.h appears to be ignored. `TargetDesc` can be passed in as part of the `SessionDesc` as part of global session construction. Some...

Hello! I'm trying to use the slangc commandline utility to output multiple .spv outputs, one per entry point. However, this doesn't seem to work... According to the help, > -entry...

Hi, when I load a matrix from ByteAddressBuffer in SPIR-V backend, It will assume the row major ordering regardless of the defaultMatrixLayoutMode. ``` static const char* RESOURCE_SLANG = R"SLANG( [[vk::binding(0,...

The Slang -E command option is makes Slang output the preprocessed input. The feature was originally added to allow a way to more easily add preprocessor tests. The output consists...

On testing with `slang-llvm` with host callable, the following tests fail * "tests\hlsl-intrinsic\scalar-double.slang" * "tests\hlsl-intrinsic\matrix-double.slang" PR #2314 works around this by disabling these tests via a category. The issue needs...

I've started a Metal support here: https://github.com/shader-slang/slang/commit/9fa3b8e974aa313148765cb80449467b94b93234 My approach is to duplicate CUDA first (the above commit) and take it as a basis. Thoughts?