Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.

entry: apply NonWritable to read-only StorageBuffers.#1011

Merged
eddyb merged 2 commits intoEmbarkStudios:mainfrom
LykenSol:non-writable
Apr 4, 2023
Merged

entry: apply NonWritable to read-only StorageBuffers.#1011
eddyb merged 2 commits intoEmbarkStudios:mainfrom
LykenSol:non-writable

Conversation

@eddyb
Copy link
Contributor

@eddyb eddyb commented Mar 20, 2023

This PR applies NonWritable to #[spirv(storage_buffer)] x: &T (if T doesn't have interior mutability).

@eddyb eddyb marked this pull request as ready for review April 4, 2023 02:15
@eddyb eddyb enabled auto-merge (rebase) April 4, 2023 02:15
@eddyb eddyb merged commit 11a2fe7 into EmbarkStudios:main Apr 4, 2023
@eddyb eddyb deleted the non-writable branch April 4, 2023 02:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for NonReadable, NonWritable

2 participants