[d3d12] always expose Features::FLOAT32_BLENDABLE (#9431)

This commit is contained in:
Teodor Tanasoaia
2026-04-15 17:46:36 +02:00
committed by GitHub
parent 0b4bdaf9ce
commit cc44c1f616
2 changed files with 2 additions and 2 deletions

View File

@@ -345,7 +345,7 @@ const UPLEVEL: Bucket = Bucket {
.union(Features::RG11B10UFLOAT_RENDERABLE)
.union(Features::BGRA8UNORM_STORAGE)
.union(Features::FLOAT32_FILTERABLE)
// FLOAT32_BLENDABLE not implemented in wgpu dx12 backend; https://github.com/gfx-rs/wgpu/issues/6555
.union(Features::FLOAT32_BLENDABLE)
// CLIP_DISTANCES not implemented in wgpu dx12 backend; https://github.com/gfx-rs/wgpu/issues/6236
.union(Features::DUAL_SOURCE_BLENDING)
// TIER1/TIER2 not implemented in wgpu; https://github.com/gfx-rs/wgpu/issues/8122
@@ -376,7 +376,6 @@ const BUCKET_M1: Bucket = Bucket {
.union(Features::TEXTURE_COMPRESSION_ASTC_SLICED_3D)
.union(Features::TEXTURE_COMPRESSION_ETC2)
.union(Features::SHADER_F16)
.union(Features::FLOAT32_BLENDABLE)
.union(Features::CLIP_DISTANCES),
};

View File

@@ -480,6 +480,7 @@ impl super::Adapter {
| wgt::Features::DUAL_SOURCE_BLENDING
| wgt::Features::TEXTURE_FORMAT_NV12
| wgt::Features::FLOAT32_FILTERABLE
| wgt::Features::FLOAT32_BLENDABLE
| wgt::Features::TEXTURE_ATOMIC
| wgt::Features::PASSTHROUGH_SHADERS
| wgt::Features::EXTERNAL_TEXTURE