-
The MLIR build time has a lot of stuff for code gen for various architectures that we don't target (e.g., SPIRV) and passes and dialects that we don't use (e.g., gpu, arm*, etc.). We could likely save…
j2kun updated
1 month ago
-
### Expected Behaviour
Successful compilation of [`bevy-pbr-rust`](https://github.com/bevy-rust-gpu/bevy-pbr-rust) with `--spirt-passes=reduce` enabled via `RUSTGPU_CODEGEN_ARGS`.
This was done us…
Shfty updated
2 weeks ago
-
# Problem
Compiling the following shader to SPIR-V on Android device (arm64-v8a) leads to crash in compiler.
```glsl
#version 460
#extension GL_EXT_buffer_reference_uvec2 : require
#extension GL_…
rokuz updated
1 month ago
-
The original OpenCL-C code:
struct SomeStruct
{
float16 f;
int i;
};
__kernel void test_struct(const __global struct SomeStruct* in, __global struct SomeStruct* out)
{…
-
I see that #488 was closed as completed. However, it doesn't look `unsigned int` works. The below shader results in the following error message when `unsigned` is used with `int`:
```
shader.hlsl(26…
-
I've been porting some WGSL code like [like these](https://github.com/bevyengine/bevy/blob/main/assets/shaders/game_of_life.wgsl) into [rust](https://github.com/Bevy-Rust-GPU/example-workspace/pull/22…
-
Right now the modern graphics APIs are moving towards using the SPIRV binary format as the default way to upload a shader to the GPU.
In some cases, an alternative format is used and the `spirv_cro…
-
Can you please explain what I can do after running the spirv disassembler ?
Thanks
; SPIR-V
; Version: 1.0
; Generator: Khronos LLVM/SPIR-V Translator; 14
; Bound: 1362
; Schema: 0
…
-
Seems a C++ problem:
```
/home/username/mlir-extensions/lib/Conversion/XeGPUToSPIRV/XeGPUToSPIRV.cpp: In function ‘void {anonymous}::lookupOrInsertIntrinsic(mlir::ConversionPatternRewriter&, mlir:…
-
The shader below triggers an assert in `slang-ir-glsl-legalize.cpp:createGLSLGlobalVaryingsImpl()` at 3 calls:
```
// We need to recurse down into the individual fields,
// and gene…