diff --git a/wgpu-hal/src/dx12/adapter.rs b/wgpu-hal/src/dx12/adapter.rs index 5902ff2825d..77092f2c90e 100644 --- a/wgpu-hal/src/dx12/adapter.rs +++ b/wgpu-hal/src/dx12/adapter.rs @@ -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. @@ -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(); diff --git a/wgpu/src/backend/webgpu.rs b/wgpu/src/backend/webgpu.rs index 68368803ce1..e0cf006e6ef 100644 --- a/wgpu/src/backend/webgpu.rs +++ b/wgpu/src/backend/webgpu.rs @@ -264,7 +264,6 @@ fn map_texture_format(texture_format: wgt::TextureFormat) -> webgpu_sys::GpuText TextureFormat::Rgb10a2Unorm => tf::Rgb10a2unorm, TextureFormat::Rg11b10Ufloat => tf::Rg11b10ufloat, // 64-bit formats - TextureFormat::R64Uint => tf::R64uint, TextureFormat::Rg32Uint => tf::Rg32uint, TextureFormat::Rg32Sint => tf::Rg32sint, TextureFormat::Rg32Float => tf::Rg32float, diff --git a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureFormat.rs b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureFormat.rs index fcd9063518f..d5545985595 100644 --- a/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureFormat.rs +++ b/wgpu/src/backend/webgpu/webgpu_sys/gen_GpuTextureFormat.rs @@ -60,7 +60,6 @@ pub enum GpuTextureFormat { Rgb10a2uint = "rgb10a2uint", Rgb10a2unorm = "rgb10a2unorm", Rg11b10ufloat = "rg11b10ufloat", - R64uint = "r64uint", Rg32uint = "rg32uint", Rg32sint = "rg32sint", Rg32float = "rg32float",