Skip to content

Commit cc44c1f

Browse files
authored
[d3d12] always expose Features::FLOAT32_BLENDABLE (#9431)
1 parent 0b4bdaf commit cc44c1f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

wgpu-core/src/limits.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ const UPLEVEL: Bucket = Bucket {
345345
.union(Features::RG11B10UFLOAT_RENDERABLE)
346346
.union(Features::BGRA8UNORM_STORAGE)
347347
.union(Features::FLOAT32_FILTERABLE)
348-
// FLOAT32_BLENDABLE not implemented in wgpu dx12 backend; https://github.com/gfx-rs/wgpu/issues/6555
348+
.union(Features::FLOAT32_BLENDABLE)
349349
// CLIP_DISTANCES not implemented in wgpu dx12 backend; https://github.com/gfx-rs/wgpu/issues/6236
350350
.union(Features::DUAL_SOURCE_BLENDING)
351351
// TIER1/TIER2 not implemented in wgpu; https://github.com/gfx-rs/wgpu/issues/8122
@@ -376,7 +376,6 @@ const BUCKET_M1: Bucket = Bucket {
376376
.union(Features::TEXTURE_COMPRESSION_ASTC_SLICED_3D)
377377
.union(Features::TEXTURE_COMPRESSION_ETC2)
378378
.union(Features::SHADER_F16)
379-
.union(Features::FLOAT32_BLENDABLE)
380379
.union(Features::CLIP_DISTANCES),
381380
};
382381

wgpu-hal/src/dx12/adapter.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,7 @@ impl super::Adapter {
480480
| wgt::Features::DUAL_SOURCE_BLENDING
481481
| wgt::Features::TEXTURE_FORMAT_NV12
482482
| wgt::Features::FLOAT32_FILTERABLE
483+
| wgt::Features::FLOAT32_BLENDABLE
483484
| wgt::Features::TEXTURE_ATOMIC
484485
| wgt::Features::PASSTHROUGH_SHADERS
485486
| wgt::Features::EXTERNAL_TEXTURE

0 commit comments

Comments
 (0)