mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-03 03:35:59 +00:00
Expose DepthClipControl on D3D12
It is always available. Bug: dawn:1178 Change-Id: Id49064002ed4ebc10ee85113d0db854d7fcf84a5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/105962 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
7171fa9550
commit
2a7966e519
@ -138,6 +138,7 @@ MaybeError Adapter::InitializeSupportedFeaturesImpl() {
|
|||||||
mSupportedFeatures.EnableFeature(Feature::Depth32FloatStencil8);
|
mSupportedFeatures.EnableFeature(Feature::Depth32FloatStencil8);
|
||||||
mSupportedFeatures.EnableFeature(Feature::IndirectFirstInstance);
|
mSupportedFeatures.EnableFeature(Feature::IndirectFirstInstance);
|
||||||
mSupportedFeatures.EnableFeature(Feature::RG11B10UfloatRenderable);
|
mSupportedFeatures.EnableFeature(Feature::RG11B10UfloatRenderable);
|
||||||
|
mSupportedFeatures.EnableFeature(Feature::DepthClipControl);
|
||||||
|
|
||||||
if (GetBackend()->GetFunctions()->IsDXCAvailable()) {
|
if (GetBackend()->GetFunctions()->IsDXCAvailable()) {
|
||||||
uint64_t dxcVersion = 0;
|
uint64_t dxcVersion = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user