-
I was playing with spirv2clc in my LLVM-based toolflow, which relies on the SPIRV to LLVM translator to generate SPIR-V. For example, a simple kernel that returns nothing looks as follows in LLVM IR:
…
-
**sycl-lisp** cuda-lisp
\ / We have to make sycl-lisp
\ /
…
-
Problem:
* Slang will fail when compiling certain hull shaders due to a left-over `kIROp_Param` for when emitting SPIR-V. This `kIROp_Param` is not necessarily wrong, spirv-legalization-passes shoul…
-
It's a requirement of the SPIR-V specification (https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#OpPhi) that "There must be exactly one Parent i for each parent block of the current block…
-
I used `-g` to emit debug info in Clang and get a LLVM IR module. When I tried to invoke `llc` and use SPIR-V backend to emit the final SPIR-V, an unexpected label is emitted after `OpFunctionEnd`:
…
-
**Is your feature request related to a problem? Please describe.**
As mentioned in https://github.com/microsoft/DirectXShaderCompiler/pull/6650, there will be a follow-up PR to add -fvk-bind-reso…
-
In this repository we have `.cl` tests which are being compiled for spir target emitting LLVM IR, that will be translated to SPIR-V and backwards. The suggestion is to compile them for spirv target as…
-
First of all, many thanks for your work on Oclgrind! It has been an invaluable tool for developing OpenCL and also CUDA kernels.
I am facing weird behavior in the following (simplified) kernel, tha…
-
Currently it's possible to create a SPIR-V that allocates local mem in non-kernel functions although this is explicitly forbidden in OpenCL C spec for obvious implementation challenges. It is even acc…
-
**Problem description**
A following slang-test case prints Vulkan validation layer error.
- tests/glsl-intrinsic/intrinsic-texture.slang
The following error messages are observed when reproduced:…