mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-25 16:25:25 +00:00
2.6 KiB
2.6 KiB
rust-gpu
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
Added ⭐
- Added two
spirv-builder
environment variables to customize only therustc
invocations for shader crates and their dependencies:RUSTGPU_RUSTFLAGS="..."
for shaderRUSTFLAGS="..."
RUSTGPU_CODEGEN_ARGS="..."
for shader "codegen args" (i.e.RUSTFLAGS=-Cllvm-args="..."
)
(check out "codegen args" docs, or run withRUSTGPU_CODEGEN_ARGS=--help
to see the full list of options)
Changed 🛠️
- Updated toolchain to
nightly-2022-10-29
- Applied workspace inheritance to
Cargo.toml
files - Moved
rustc_codegen_spirv
debugging functionality from environment variables to "codegen args" options/flags (see the updated docs for more details)
Removed 🔥
- Removed the
fn
/closure#[spirv(unroll_loops)]
attribute, as it has no users, is becoming non-trivial to support, and requires redesign for better ergonomics (e.g.#[spirv(unroll)]
applied to individual loops, not the wholefn
/closure)
[0.4.0-alpha.17]
Changed 🛠️
- Fixed rust-gpu crates not referring to each-other by exact version
- Fixed
spirv-std
referring to an older version ofspirv-std-macros
[0.4.0-alpha.16]
Added ⭐
- Added check for environment variable
RUSTGPU_SKIP_TOOLCHAIN_CHECK
to prevent toolchain check
Changed 🛠️
- 🚨BREAKING🚨 Migrated from
register_attr
toregister_tool
. More information. - Updated toolchain to
nightly-2022-10-01
- Updated
glam
to0.22
Removed 🔥
- Removed
glam::BVec
support (they are no longer#[repl(simd)]
inglam
, as Rust doesn't support SIMD vectors withbool
elements)
[0.4.0-alpha.15]
Added ⭐
- Build-time check for nightly toolchain version to provide user-friendly error messages.
Changed 🛠️
- Updated rust toolchain to
nightly-2022-08-29
.