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

* warn on `inline(never)` that are not respected * inline global variables so that we can inline less functions caused by illegal arg/return type fix https://github.com/EmbarkStudios/rust-gpu/issues/847 ## tests My shader...

s: waiting on review
s: qptr may fix

Supported cases: - non-repr-C enums without non-null optimization; - repr-C enums that are dataless / have the same layout for every case - enums with non-null optimization that don't use...

s: waiting on review
s: qptr may fix

inline.rs was a sore spot for me reading the codebase because of how many TODOs and quadratic algorithms it had sitting there. Looking at it, I was able to see...

s: waiting on review

resolves #568

s: waiting on review
s: needs update

### Expected Behaviour spriv-val should not fail. Looks it's because the bug mentioned here https://github.com/EmbarkStudios/rust-gpu/pull/690#pullrequestreview-719958024 . I will try to make a PR to fix it ### Example & Steps...

t: bug
s: qptr may fix

There's this comment I left in the structurizer (and the `do`-`while`->`while` conversion that follows it): https://github.com/EmbarkStudios/rust-gpu/blob/03f89e8ba6f236218b3c5f9b18fe03c25a4d6a5c/crates/rustc_codegen_spirv/src/linker/structurizer.rs#L307-L310 Which seemed reasonable until I realized that `do`-`while` makes more sense for structured control-flow,...

t: enhancement
c: rustc_codegen_spirv

### Expected Behaviour `cargo clippy` works without a crash in [this](https://github.com/hatoo/zenn-content/tree/a1a2a28885b970f4ec5934bed96944ea50eadec5/rasterization-example) project. It worked fine in older `rust-gpu`. ### Example & Steps To Reproduce 1. Clone [this](https://github.com/hatoo/zenn-content/tree/a1a2a28885b970f4ec5934bed96944ea50eadec5/rasterization-example) 2. `cargo clippy`...

t: bug

A high-level goal for this project is to also design a GPU rendering/compute graph to tie it all together and enable users to to develop small reusable graph components inside...

t: design

This issue is from Discord conversation https://discordapp.com/channels/750717012564770887/750717499737243679/943879544006381638 ### Expected Behaviour I want to compile [my shader](https://github.com/hatoo/rene) faster. ### Example & Steps To Reproduce 1. clone my repo https://github.com/hatoo/rene 2. `cargo...

t: bug

Sadly, it's hard/impossible to account for `#[cfg]`s in e.g. `glam`, and vector types in general tend to have weirder alignment rules than scalars (and aggregates thereof). But we should at...

t: enhancement
c: rustc_codegen_spirv