-
Unions are problematic in SPIR-V:
1. We cannot perform pointer casts in shaders.
2. We cannot load values using OpSpecConstantOp. This means that any struct which contains a union value needs a crea…
-
### Reproducer
_example.cpp_
```
int *ptr_0 = nullptr;
void *ptr_1 = ptr_0;
```
1. clang -S -emit-llvm -cl-std=clc++ --target=spir example.cpp
2. llc --verify-machineinstrs -O0 -mtriple=spirv6…
-
I am trying to implement the RWTexture2DMS feature from SM 6.7 using DXC packages from the Agility SDK.
This is a dummy shader with minimal code.
Surprisingly, the shader compiles fine for DXIL, htt…
-
I implemented the first, naive (yet fully working) GLSL writer in less than 12 hours. I think it’s worth it to write a SPIR-V writer as well, and it shouldn’t take too much time.
It’s not my own pr…
-
**Description**
I am trying to copy data from a ConstantBuffer fetched from the ResourceDescriptorHeap into another variable, however, the data always becomes zeroed.
I can see the ConstantBuffer …
-
I haven't been able to find a way to PM @johnkslang nor any forums or anything where compiling to SPIR-V is being discussed so this is as much a question as an issue. As far as I can tell it looks lik…
-
**Environment:**
- OS: Window 11
- GPU and driver version: RTX 2070 Super, driver 556.14
- SDK version: 1.3.296.0
- Options enabled (synchronization, best practices, etc.): Standard validation…
-
**Describe the bug**
The OpenCL 3.0 SPIR-V Environment specifies under `2.9. Built-in Variables` that all builtin variables have to be in the Input Storage Class:
"An OpVariable in a SPIR-V module…
-
Starting after #5243 landed, the following slang code, compiled to spirv, causes nvidia's driver (565.90) to segfault and mesa to reject the graphics pipeline entirely (mesa 24). Concerningly, spirv-v…
-
The previous SDK 1.3.290.0 works fine.
I'm just learning Vulkan, so would not be at all surprised if the issue is me!
Error:
`[mvk-error] SPIR-V to MSL conversion error: Argument buffer resourc…
RefuX updated
1 month ago