rust-gpu icon indicating copy to clipboard operation
rust-gpu copied to clipboard

🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧

Results 149 rust-gpu issues
Sort by recently updated
recently updated
newest added

I couldn't find any existing issues tracking adding support for specifying these decorations (or other decorations). Would it make sense for these to be exposed as `spirv` attributes, or as...

t: enhancement

With recent changes to how we specify the storage class of a variable, we've managed to eliminate the need for a few of the storage class attributes in cases where...

t: enhancement
t: good first issue

I started looking into how `OpConvertUToPtr` can be implemented - initially for `RuntimeArray`s. Something like this works well, but is not generic: ```rust unsafe fn load_f32_runtime_array_from_handle(handle: u64) -> &'static mut...

t: enhancement
s: qptr may fix

When calling a function with a sub-slice of some other slice, the compiler throws a strange error: Small example: ``` pub fn t1(main: &[f32]){ let a = t2(&main[10..13]); } fn...

t: enhancement
s: qptr may fix

When a struct derives the `Debug` trait, compilation fails with a strange error. For instance this struct ``` #[repr(C)] #[derive(Debug, Clone, Copy)] pub struct GpuCamera2d { pub location: [f32; 2],...

t: enhancement

### Expected Behaviour Be able to use `Option` ### Example & Steps To Reproduce Use an `Option` that contains a value larger than some threshold ```rust pub fn from_mat4(t: &Mat4)...

t: bug
c: rustc_codegen_spirv
s: qptr may fix

Due to how for loops over a range work in Rust, a lot of scaffolding code is generated that is then expected to be optimized away, but in rust-gpu, that...

t: enhancement
a: codegen

Now that the full bindless mode has been stripped (#710), I would like to open up this issue so that we can all get on the same page and see...

t: bug

[See the vulkan spec](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#spirvenv-capabilities) For example, when compiling for vulkan1.0 or higher, `OpCapability ImageQuery` should be included by default.

t: enhancement

Quite often, an algorithm will have a working data size configurable by a constant, and this size is correlated with the thread group size. Here's what I would like to...

t: enhancement
t: ergonomics