Teodor Tanasoaia
0cbabcf229
Update multi-planar texture API ( #4837 )
2023-12-07 14:06:56 -05:00
0f4df52b5a
[wgpu-hal] Inline RayQuery Support ( #3507 )
...
Co-authored-by: JMS55 <47158642+JMS55@users.noreply.github.com >
Co-authored-by: Ashley Ruglys <ashley.ruglys@gmail.com >
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2023-12-06 21:12:41 +00:00
Almar Klein
32c5a22293
Add feature float32-filterable ( #4759 )
2023-12-04 14:23:13 +01:00
Xiaopeng Li and Connor Fitzgerald
a6503e59c9
Support nv12 texture format ( #4573 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2023-11-28 16:11:26 +00:00
Westerbly Snaydley
2e7fd75712
vk: Enable FifoRelaxed PresentMode ( #4666 )
2023-11-10 17:09:42 +00:00
Teodor Tanasoaia
422c636877
Add Rgb10a2Uint format ( #4199 )
2023-10-03 14:56:21 +02:00
Frederik Magnus Johansen Vestre and Teodor Tanasoaia
dc5beac8c9
Support dual source blending ( #4022 )
...
Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com >
2023-09-19 13:26:30 +02:00
Connor Fitzgerald
1cb0bdcdef
Fix incorrect aspect in barriers when using emulated Stencil8 textures. ( #3833 )
2023-06-04 23:32:06 -04:00
Connor Fitzgerald and Connor Fitzgerald
a7defb723f
Cleanups for WebGPU ( #3671 )
...
Co-authored-by: Connor Fitzgerald <connor@modyfi.io >
2023-04-12 21:27:30 +00:00
Teodor Tanasoaia
c51edd36fd
Support stencil-only views and copying to/from combined depth-stencil textures ( #3436 )
2023-02-15 16:20:22 -05:00
Teodor Tanasoaia
41de797c74
Change type of mip_level_count and array_layer_count (members of TextureViewDescriptor and ImageSubresourceRange) from Option<NonZeroU32> to Option<u32> ( #3445 )
...
Clean up duplicated code related to texture layers/mips.
2023-02-03 15:03:34 +01:00
Teodor Tanasoaia
b22cfa1298
Clearing a non-color attachment should be unreachable ( #3393 )
2023-01-18 15:52:25 -05:00
Nathan Adams
186a29c34d
Implement TextureFormat::Stencil8 + add stencil example ( #3343 )
...
* Implement TextureFormat::Stencil8
* Add stencil-triangles demo to test Stencil8 and show how to use stencil testing
* Added changelog for Stencil8
2023-01-02 13:47:10 +01:00
Jinlei Li
d7fe7ef8cc
vk: eliminate duplicate values in SurfaceCapabilities's formats field ( #3227 )
2022-11-26 03:37:37 -05:00
Mauro Gentile and Mauro Gentile
cdf6ee0c87
Updating TextureFormat matching specs ( #2954 )
...
Co-authored-by: Mauro Gentile <Mauro.Gentile@ubisoft.com >
2022-09-20 12:08:06 -04:00
Jinlei Li
44399bb4a3
Expose alpha_mode, support non-opaque mode on metal and vk backends ( #2836 )
2022-09-19 00:10:21 -04:00
Connor Fitzgerald and bjorn3
ea05b44f38
Improve Presentation Api ( #2803 )
...
* Add new presentation modes
* Expand presentation formats
* Add Surface::get_supported_modes
* Update to rust 2021 and improve some metal surface code
* Update wgpu-types/src/lib.rs
Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com >
* Fix windows build errors
* Fix issues with ALLOW_TEARING
Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com >
2022-06-30 14:24:17 -04:00
Jinlei Li
8063edc648
Add DEPTH24UNORM_STENCIL8 feature ( #2689 )
2022-05-30 15:29:12 -04:00
Connor Fitzgerald
9114283707
Tracking Optimization and Rewrite ( #2662 )
...
* Texture state full is dead code
* temp
* temp2 - next is lifetime only
* temp3 - all trackers in place
* temp4 - continue muddling along
* temp5 - doodle doodle
* temp6 - continuous progress is continuous
* temp7 - pro-gress
* temp8 - Add refcounts to trackers
* temp9 - Soundness, generics, refcounts, and epochs
* temp10 - Compiling?!1?!1?!1
* temp11 - Add bind group state optimization
* temp12 - Safety and adding size setting
* temp13 - unsafe
* temp14 - Abstract all the state transitions
* temp15 - It verks! kinda...
* temp16 - it more verks!
* temp17 - debugging and unit tests
* temp18 - fixing unfixed things
* temp19 - hmmm
* temp20 - curious about line deltas
* temp21 - working texture trackers
* temp22 - write merge/update/barrier for buffers
* temp23 - cleanup and buffers
* temp24 - clippy cleanup
* temp25 - Add inline markers on buffer functions
* temp26 - Fix buffer trackers
* temp27 - fixed texture insert to handle both sides
* temp28 - document tracker and usages
* temp29 - document track/mod.rs
* temp30 - convert STORAGE_WRITE to STORAGE_READ_WRITE
* temp31 - Add some debug asserts to make sure we can't insert invalid states
* temp32 - clippy is opinionated sometimes
* temp33 - renaming and documentation
* temp34 - logging
2022-05-24 11:36:13 -04:00
Jinlei Li
26f96c7dfe
Add DEPTH32FLOAT_STENCIL8 featue ( #2664 )
2022-05-17 02:11:05 -04:00
Jinlei Li
01628a1fad
vulkan: HDR ASTC formats support
2022-02-20 00:00:06 -05:00
Jinlei Li
1c17d15507
Metal backend ASTC HDR formats support ( #2477 )
2022-02-15 09:43:16 -05:00
Dzmitry Malyshau
046f008cc0
vk: fix ASTC format mapping
2022-02-13 20:20:08 -05:00
Ibiyemi Abiodun
0183e7d1e8
add AddressMode::ClampToZero ( #2364 )
...
* add AddressMode::ClampToZero
* add feature checks
* oops
* rustfmt
* fix dx12
* change to use SamplerBorderColor
* fix metal
* update to use new config
* update dx12 + docs
* address nits
* cargo fmt
* fix dx12
2022-01-15 05:16:35 +00:00
Dzmitry Malyshau
6bc896fe8c
hal/vk: use stencil read/write masks
2022-01-11 13:38:40 -05:00
aloucks
70f7c375e0
Add feature gated 16-bit normalized texture support ( #2282 )
...
* Add feature gated 16-bit normalized texture support
Fixes #1934
* Query format properties only once
* Prevent supports_format from erroneously reporting false if the format wasn't queried
* Assert that 16bit norm formats also support on vulkan
* Add storage to TextureFormatInfo for 16-bit norm formats now that we check for support
2021-12-13 12:31:16 -05:00
Dzmitry Malyshau
47fb0efb2c
ETC2 texture format refactor ( #2064 )
2021-10-13 13:42:44 -04:00
Dzmitry Malyshau
076031c1ba
hal: switch texture copies to expect physical sizes ( #1908 )
2021-09-07 13:13:11 +00:00
Dzmitry Malyshau
552a5f138e
Rename texture usage names
2021-07-28 00:17:54 -04:00
Connor Fitzgerald
683d03a8e4
Add Rgb9e5Ufloat
2021-07-21 23:54:46 -04:00
Dzmitry Malyshau
8cd17aafe3
Switch read-only storage textures to be exclusive and behind a feature
2021-07-14 01:04:37 -04:00
Zicklag
2896a6e5f3
Fix Vulkan Backend Texture Format Mapping
...
Fixes the Bgra8UnormSrgb texture format.
Resolves #1646 .
2021-07-13 20:21:47 -05:00
Dzmitry Malyshau
00859b9e0c
Stop using render pass boundary usages for resource transitions
2021-07-13 01:02:42 -04:00
Dzmitry Malyshau
35ee65707f
hal: make copy to work on one array layer at a time
2021-07-13 01:01:26 -04:00
Dzmitry Malyshau
3a2bbfd563
hal/dx12: adapter initialization
2021-07-13 01:01:16 -04:00
Dzmitry Malyshau
2efccb2bf8
hal/vk: fix indirect stage flag
2021-07-06 00:56:43 -04:00
Dzmitry Malyshau
ba006cfaa7
Rename ColorWrite, TextureUsage, and BufferUsage
2021-06-30 14:57:38 -04:00
Dzmitry Malyshau
568ac3fa24
Switch all bitflag names to plural
2021-06-30 14:43:36 -04:00
Dzmitry Malyshau
6f13eebb7b
hal/gles: compressed ETC2 texture support
2021-06-30 12:06:59 -04:00
Dzmitry Malyshau
7410b700d6
fix swapchain recycling, copies, device destruction, RODS
2021-06-16 23:18:50 -04:00
Dzmitry Malyshau
fb662dfbec
hal/vk: polishing to run halmark with no validation issues
2021-06-16 17:15:34 -04:00
Dzmitry Malyshau
67dfdb9193
hal/vk: debug markers, bind groups, viewports
2021-06-16 02:05:34 -04:00
Dzmitry Malyshau
bc6bb0c3df
hal/vk: render passes and queries
2021-06-16 01:26:14 -04:00
Dzmitry Malyshau
6f655e0b14
hal/vk: barriers and copies
2021-06-15 15:58:12 -04:00
Dzmitry Malyshau
a260cff0f0
hal/vk: queue operations
2021-06-15 11:38:07 -04:00
Dzmitry Malyshau
00de15990e
hal/vk: pipeline creation
2021-06-15 01:24:25 -04:00
Dzmitry Malyshau
006c1baaf2
hal/vk: pipeline layout, object labels and logging
2021-06-11 20:23:15 -04:00
Dzmitry Malyshau
61e2e242cd
hal/vk: textures and samplers
2021-06-11 19:14:41 -04:00
Dzmitry Malyshau
b4380e4576
hal/vk: buffer and texture creation
2021-06-11 15:53:07 -04:00
Dzmitry Malyshau
9ae5e36ad8
hal/vk: format mapping
2021-06-11 14:27:00 -04:00