File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -293,6 +293,7 @@ impl super::Adapter {
293
293
}
294
294
} ;
295
295
296
+ // these should always be available on d3d12
296
297
let mut features = wgt:: Features :: empty ( )
297
298
| wgt:: Features :: DEPTH_CLIP_CONTROL
298
299
| wgt:: Features :: DEPTH32FLOAT_STENCIL8
@@ -315,7 +316,8 @@ impl super::Adapter {
315
316
| wgt:: Features :: SHADER_PRIMITIVE_INDEX
316
317
| wgt:: Features :: RG11B10UFLOAT_RENDERABLE
317
318
| wgt:: Features :: DUAL_SOURCE_BLENDING
318
- | wgt:: Features :: TEXTURE_FORMAT_NV12 ;
319
+ | wgt:: Features :: TEXTURE_FORMAT_NV12
320
+ | wgt:: Features :: FLOAT32_FILTERABLE ;
319
321
320
322
//TODO: in order to expose this, we need to run a compute shader
321
323
// that extract the necessary statistics out of the D3D12 result.
@@ -403,9 +405,6 @@ impl super::Adapter {
403
405
atomic_int64_on_typed_resource_supported,
404
406
) ;
405
407
406
- // float32-filterable should always be available on d3d12
407
- features. set ( wgt:: Features :: FLOAT32_FILTERABLE , true ) ;
408
-
409
408
// TODO: Determine if IPresentationManager is supported
410
409
let presentation_timer = auxil:: dxgi:: time:: PresentationTimer :: new_dxgi ( ) ;
411
410
You can’t perform that action at this time.
0 commit comments