mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-25 17:01:15 +01:00
Add DEPTH24UNORM_STENCIL8 feature (#2689)
This commit is contained in:
1 parent
fd954a2bd6
commit
8063edc648
16 files changed
+98
-31
No files matched your search
@@ -313,7 +313,8 @@ pub(crate) fn validate_texture_copy_range(
|
||||
wgt::TextureFormat::Depth32Float
|
||||
| wgt::TextureFormat::Depth32FloatStencil8
|
||||
| wgt::TextureFormat::Depth24Plus
|
||||
| wgt::TextureFormat::Depth24PlusStencil8 => {
|
||||
| wgt::TextureFormat::Depth24PlusStencil8
|
||||
| wgt::TextureFormat::Depth24UnormStencil8 => {
|
||||
if *copy_size != extent {
|
||||
return Err(TransferError::InvalidDepthTextureExtent);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user