d3d11: add Feature DepthClipControl and Depth32FloatStencil8

Bug: dawn:1705
Change-Id: I5a1cec55a261ca01329f24af882b8501260ce0fc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/133740
Commit-Queue: Peng Huang <penghuang@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
Peng Huang 2023-05-19 21:41:23 +00:00 committed by Dawn LUCI CQ
parent beb31d4611
commit ba073b7e09
1 changed files with 2 additions and 0 deletions

View File

@ -123,6 +123,8 @@ MaybeError PhysicalDevice::InitializeImpl() {
}
void PhysicalDevice::InitializeSupportedFeaturesImpl() {
EnableFeature(Feature::Depth32FloatStencil8);
EnableFeature(Feature::DepthClipControl);
EnableFeature(Feature::TextureCompressionBC);
EnableFeature(Feature::SurfaceCapabilities);
}