918: Specify latest gfx release branch in README r=kvark a=grovesNL
Specify latest gfx release branch in README, to hopefully avoid people checking out `hal-0.2` then wondering why the patch doesn't seem to do anything.
Co-authored-by: Joshua Groves <josh@joshgroves.com>
914: Change the texture sample type for the cube example from Float to Uint r=kvark a=igowen
this is a rework of #764. i think wgpu supports everything we need for this now!
Co-authored-by: Ian Gowen <ian@gowen.cc>
907: Add feature request for wgpu-rs r=kvark a=cwfitzgerald
Thanks @JMS55 for bringing this to my attention in #906
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
905: Fill Out Issue Templates r=kvark a=cwfitzgerald
This adds issue templates, as well as links to the wgpu-core tracker and the discussion board. Hopefully this should reduce the amount of issues we have to transfer.
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
900: Fix initializing buffer with unaligned data r=grovesNL a=Uriopass
In wgpu 0.7, this was a valid operation, the zero padding was done by hand.
In #872 this logic was removed as an optimization since buffers are already zero initialized, however the slice end was taken from buffer.slice which has to be aligned when mapped.
This is causing issues when trying to update imgui-wgpu-rs (https://github.com/Yatekii/imgui-wgpu-rs/issues/54) to wgpu 0.8 since they use U16 index buffers with odd lengths.
Co-authored-by: Pâris DOUADY <paris.douady@hotmail.fr>
In wgpu 0.7, this was a valid operation, the zero padding was done by hand.
However in #872 this was removed as an optimization since buffers are zero padded, however the slice end was taken from buffer.slice which has to be aligned when mapped.
894: Skip mapping of zero sized buffers in create_buffer_init to avoid a panic and avoid creating an unused padded buffer r=kvark a=Imberflur
Co-authored-by: Imbris <imbrisf@gmail.com>
873: Boids example: cleaner rand code r=kvark a=dhardy
... for a certain definition of cleaner. Is this clearer or just more confusing?
Co-authored-by: Diggory Hardy <git@dhardy.name>
861: Remove glslangvalidator requirements from water example r=kvark a=Gordon-F
`glslangvalidator` is no longer needed because the example uses WGSL.
Co-authored-by: Igor Shaposhnik <Gordon-F@users.noreply.github.com>
859: Fix typos - it's -> its r=cwfitzgerald a=ashpil
As I was reading the documentation, I found an instance where "it's" should actually be "its", as it is used as a possessive, not a contraction. I fixed that and `grep`ed for other instances, of which I found one and fixed as well.
Co-authored-by: ashpil <shpilenok2001@gmail.com>
855: Remove comment about `Vec::remove_item` r=kvark a=Pat-Lafon
Sadly, `Vec::remove_item` was an unstable method that was deprecated and has now been removed.
https://github.com/rust-lang/rust/pull/80972
This pr removes a comment suggesting to use `Vec::remove_item` when it stabilizes.
Co-authored-by: Patrick LaFontaine <32135464+Pat-Lafon@users.noreply.github.com>