-
For a while, we've been talking about trying to take our absolutely horrifying, fragile, confusing hacks that let users embed rust-gpu programs in host programs and putting them into cargo itself. For…
-
When a 64-bit immediate value is used in a switch construct, the SPIR-V emitter splits the 64bit int into 2 32-bit integers, causing a bad instruction to be generated:
```
OpSwitch %5 %8 429496729…
-
Hello there!
I've tried to [build library on windows](https://github.com/conda-forge/llvm-spirv-feedstock/pull/25), but it seems like there is no option to build it as shared library on windows:
…
-
I'm trying to compile the kernel from 05_spirvkernelfromfile of https://github.com/bashbaug/SimpleOpenCLSamples by commands:
$ clang -c -target spir64 -emit-llvm -o sample_kernel.bc sample_kern…
-
See #546 for some context and ideas - especially https://github.com/EmbarkStudios/rust-gpu/pull/546#issuecomment-809089160.
Sadly, this is likely blocked on moving CI to use `--release` to build ex…
-
**EDIT**(@eddyb): while there are reasons to _avoid_ such arrays, the slowdown is the immediate Rust-GPU bug - I've left unchanged the original text, but used ~~strikethrough~~ for parts that don't ap…
-
While debugging an issue with nested loops I simplified my shader to one loop as a sanity check and then hit this compiler panic. It seems to be caused by looping indefinitely (in my shader I forgot t…
-
(build log from the second compilation run. the first one failed with the same errors)
```
user@laptop:~/Downloads/gl_vk_chopper$ cmake .
-- -------------------------------
-- Processing Project g…
-
While testing "slang" as a shader language, I produced SPIR-V that contained unbound texture arrays (for which I would write a binding array in WGSL):
```slang
[[vk::binding(0, 2)]]
Texture2D tex…
-
I was trying to generate SPIRV (Vulkan 1.3, Spv 1.6) by using the c++ api, but got the following errors:
```log
1st operand of Capability: operand RayTraversalPrimitiveCullingKHR(4478) requires on…