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

The main unique aspect of these tests is they take SPIR-V assembly *as an input*, *not* Rust code, e.g.: https://github.com/EmbarkStudios/rust-gpu/blob/acb05d379982f35e6d4fbd85ff28af3e9876cf4c/crates/rustc_codegen_spirv/src/linker/test.rs#L185-L202 However, we might be able to use `module_asm!` to feed...

t: enhancement
a: test

Currently, it seems that rustgpu does not support operator overloading (there is no ops module under spirv_std, and none of the examples seem to do this). This is useful because...

t: enhancement

This PR adds support for arrays of buffer descriptors, and represents them like this in rust-gpu: ```rust #[spirv(fragment)] pub fn main( #[spirv(descriptor_set = 0, binding = 4, storage_buffer)] sized_buffer: &mut...

Not sure if we want more examples or if they are even well written, but I ported these a bit ago so I am putting this up for discussion.

Not sure if these docs entirely make sense, but hopefully they introduce some concepts to newer users from rust who want to use GPU.

I would find it useful if rust-builder could be compiled as a static library that could then be invoked from rust, C or C++. This has some possible advantages: *...

t: enhancement

Fixes #1061 Thanks to LegNeato for pointing out what was wrong

Fixes #568 Just a clone of https://github.com/EmbarkStudios/rust-gpu/pull/807 but with updated tests.

rustc: spirv-tools/source/opt/optimizer.cpp:66: spvtools::Optimizer::Optimizer(spv_target_env): Assertion `env != SPV_ENV_WEBGPU_0' failed. ### Expected Behaviour properly compiling ### Example & Steps To Reproduce researching this. so far i have nothing but stub methods in...

t: bug

When setting `#[spirv(fragment)]` on a non-pub function, rust-gpu errors with an obtuse error: ``` error: error:0:0 - No OpEntryPoint instruction was found. This is only allowed if the Linkage capability...

t: enhancement