Skip to content

Commit

Permalink
revert unrelated change
Browse files Browse the repository at this point in the history
  • Loading branch information
atlv24 committed Nov 23, 2024
1 parent fbbb751 commit 9461742
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions wgpu-hal/src/dx12/adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,7 @@ impl super::Adapter {
| wgt::Features::SHADER_PRIMITIVE_INDEX
| wgt::Features::RG11B10UFLOAT_RENDERABLE
| wgt::Features::DUAL_SOURCE_BLENDING
| wgt::Features::TEXTURE_FORMAT_NV12
// float32-filterable should always be available on d3d12
| wgt::Features::FLOAT32_FILTERABLE;
| wgt::Features::TEXTURE_FORMAT_NV12;

//TODO: in order to expose this, we need to run a compute shader
// that extract the necessary statistics out of the D3D12 result.
Expand Down Expand Up @@ -412,6 +410,9 @@ impl super::Adapter {
atomic_int64_on_typed_resource_supported,
);

// float32-filterable should always be available on d3d12
features.set(wgt::Features::FLOAT32_FILTERABLE, true);

// TODO: Determine if IPresentationManager is supported
let presentation_timer = auxil::dxgi::time::PresentationTimer::new_dxgi();

Expand Down

0 comments on commit 9461742

Please sign in to comment.