-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update rust crate wgpu to 0.14.0 #7
Conversation
Bumps [pixels](https://github.com/parasyte/pixels) from `a2c6398` to `9f7896c`. - [Release notes](https://github.com/parasyte/pixels/releases) - [Commits](parasyte/pixels@a2c6398...9f7896c) --- updated-dependencies: - dependency-name: pixels dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bash, Elvish, Fish, PowerShell, and Zsh
- added readme explaining how to develop - added missing dependencies - hide "unused" warnings when the target doesn't match - add config.toml for setting development target.
- construct RRR and RRRBuilder contexts asynchronously - Use rrr_render to initialize pixels
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Blocked by pixel's wgpu 13 dependency. |
Renovate Ignore NotificationAs this PR has been closed unmerged, Renovate will now ignore this update (0.14.0). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened. |
This PR contains the following updates:
0.13.1
->0.14.0
Release Notes
gfx-rs/wgpu
v0.14.0
Compare Source
Major Changes
@invariant Warning
When using CompareFunction::Equal or CompareFunction::NotEqual on a pipeline, there is now a warning logged if the vertex
shader does not have a @invariant tag on it. On some machines, rendering the same triangles multiple times without an
@invariant tag will result in slightly different depths for every pixel. Because the *Equal functions rely on depth being
the same every time it is rendered, we now warn if it is missing.
Surface Alpha and PresentModes
Surface supports
alpha_mode
now. When alpha_mode is equal toPreMultiplied
orPostMultiplied
,the alpha channel of framebuffer is respected in the compositing process, but which mode is available depends on
the different API and
Device
. If don't care about alpha_mode, you can set it toAuto
.SurfaceConfiguration { // ... + alpha_mode: surface.get_supported_alpha_modes(&adapter)[0], }
The function to enumerate supported presentation modes changed:
Updated raw-window-handle to 0.5
This will allow use of the latest version of winit. As such the bound on create_surface is now RWH 0.5 and requires
both
raw_window_handle::HasRawWindowHandle
andraw_window_handle::HasRawDisplayHandle
.Added/New Features
Buffer::size()
andBuffer::usage()
; by @kpreid in #2923alpha_mode
on SurfaceConfiguration, by @jinleili in #2836AdapterInfo
, by @i509VCB in #3037copy_external_image_to_texture
on WebGPU, by @ybiletskyi in #2781Bug Fixes
General
StagingBuffers
even when an error occurs in the operation that consumes them. By @jimblandy in #2961wasm32-unknown-unknown
by @Seamooo in #2922BufferUsages
mismatches whenFeatures::MAPPABLE_PRIMARY_BUFFERS
is notenabled. By @imberflur in #3023
CommandEncoder
not beingSend
andSync
on web by @i509VCB in #3025vendor
inAdapterInfo
if the vendor has no PCI id.Metal
msg_send![view, retain]
call withinfrom_view
by @jinleili in #2976max_buffer
max_texture
andmax_vertex_buffers
limits by @jinleili in #2978format_rgb10a2_unorm_surface
field by @jinleili in #2981_buffer_sizes
encoding by @dtiselice in #3047Vulkan
astc_hdr
formats support by @jinleili in [#2971]][https://github.com/gfx-rs/wgpu/pull/2971](https://togithub.com/gfx-rs/wgpu/pull/2971)1)b209d91
(2022-9-1) to avoid generating SPIR-V thatviolates Vulkan valid usage rules
VUID-StandaloneSpirv-Flat-06202
and
VUID-StandaloneSpirv-Flat-04744
. By @jimblandy in#3008
dependent extensions are not available by @i509VCB in #3054.
GLES
WebGPU
Context::init()
now usesweb_sys::WorkerGlobalContext
to create awgpu::Instance
instead of trying to access the unavailableweb_sys::Window
by @JolifantoBambla in #2858Changes
General
parameters instead of passing an impl trait over both HasRawDisplayHandle and HasRawWindowHandle. By @i509VCB in #3022
Instance::as_hal<A>
to just return anOption<&A::Instance>
rather than taking a callback. By @jimb in #2991InvalidFormatUsages
error by @Seamooo in #2886PhantomData
forIdentityManager
'sInput
type. By @jimblandy in #2972Cow<'static, Module>
, to allow loading global variables by @daxpedda in #2903Metal
get_metal_layer
by @jinleili in #2826Vulkan
wgpu
users to accessvk::Queue
and the queue index. By @anlumo in #2950VkPhysicalDeviceProperties.apiVersion
is the actual version of the device. By @i509VCB in #3011
GLES
Rgba16Float
format support for color attachments. By @jinleili in #3045TEXTURE_COMPRESSION_ASTC_HDR
feature detection by @jinleili in #3042Performance
StagingBelt::write_buffer()
check more thoroughly for reusable memory; by @kpreid in #2906Documentation
wgpu_core
resource allocation. @jimblandy in #2973StagingBelt
documentation by @kpreid in #2905Instance::create_surface_from_canvas
andInstance::create_surface_from_offscreen_canvas
regarding theirsafety contract. These functions are not unsafe. By @jimblandy #2990
write_buffer_with()
is sound but unwise to read from by @kpreid in #3006Adapter::as_hal
andDevice::as_hal
have to take callback functions. By @jimblandy in #2992Dependency Updates
WebGPU
alpha_mode
on web target by @jinleili in #3040Build Configuration
"strict_asserts"
feature, to enable additional internalrun-time validation in
wgpu-core
. By @jimblandy in#2872.
Full API Diff
Manual concatination of
cargo public-api --diff-git-checkouts v0.13.2 v0.14.0 -p wgpu
andcargo public-api --diff-git-checkouts v0.13.2 v0.14.0 -p wgpu-types
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.