gfx v0.7.0 Release Notes
Release Date: 2021-01-30 // about 3 years ago-
Borrow
andExactSizeIterator
bounds are removed from the iterators- error improvements:
- use
thiserror
for errors - variants and a few names are refactored
- use
- API external synchronization constraints now match Vulkan,
&mut
changes affected the following parameters:- event in
Device::set_event
andDevice::reset_event
- fence in
Device::reset_fences
andQueue::submit
- destination sets in
write_descriptor_sets
andcopy_descriptor_sets
- memory in
map_memory
andunmap_memory
- queue in
Queue::wait_idle
- semaphore in
Queue::present
- event in
ImageFeature
improvements:- new
STORAGE_READ_WRITE
bit, indicating that the storage can be read and written within the same draw/dispatch call - new
TRANSFER_SRC
andTRANSFER_DST
bits, followingVK_KHR_maintenance1
- new
SAMPLED_MINMAX
bit, followingVK_EXT_sampling_minmax
- new
- Framebuffers become image-less, following
VK_KHR_imageless_framebuffer
- the old swapchain model is removed, and the new one is updated to match the backends even better
- debug names are supported for all objectr
- other API changes:
bind_index_buffer
now doesn't need a separate structure- plural versions of
reset_fence
andcreate_xx_pipeline
are removed - swapchain images can be used for transfer operations
- separate feature for comparison mutable samplers
- pipeline descriptor vectors are replaced with slices
- features for non-normalized mutable samplers
Capabilities
structure with supported dynamic state flags
- OpenGL backend improvements:
- finally has the API fully matching gfx-hal
- now only uses OpenGL ES on Linux/Android/Web targets
- binding model has been completely rewritten
- various number of fixed in rendering, memory mapping, and other areas
🚀 backend-dx12-unreleased
- fix SPIR-V entry point selection