Skip to content

Commit

Permalink
Address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
atlv24 committed Oct 21, 2024
1 parent 39db3d9 commit dc2ba1c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
11 changes: 5 additions & 6 deletions wgpu-hal/src/dx12/adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,11 @@ impl super::Adapter {
| wgt::Features::SHADER_PRIMITIVE_INDEX
| wgt::Features::RG11B10UFLOAT_RENDERABLE
| wgt::Features::DUAL_SOURCE_BLENDING
| wgt::Features::TEXTURE_FORMAT_NV12;
| wgt::Features::TEXTURE_FORMAT_NV12
// Ruint64 textures are always emulated on d3d12
| wgt::Features::TEXTURE_INT64_ATOMIC
// float32-filterable should always be available on d3d12
| wgt::Features::FLOAT32_FILTERABLE;

//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 @@ -402,11 +406,6 @@ impl super::Adapter {
wgt::Features::SHADER_INT64_ATOMIC_ALL_OPS | wgt::Features::SHADER_INT64_ATOMIC_MIN_MAX,
atomic_int64_on_typed_resource_supported,
);
// Ruint64 textures are always emulated on d3d12
features.set(wgt::Features::TEXTURE_INT64_ATOMIC, true);

// 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
1 change: 0 additions & 1 deletion wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureFormat.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dc2ba1c

Please sign in to comment.