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:
parent
beb31d4611
commit
ba073b7e09
|
@ -123,6 +123,8 @@ MaybeError PhysicalDevice::InitializeImpl() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void PhysicalDevice::InitializeSupportedFeaturesImpl() {
|
void PhysicalDevice::InitializeSupportedFeaturesImpl() {
|
||||||
|
EnableFeature(Feature::Depth32FloatStencil8);
|
||||||
|
EnableFeature(Feature::DepthClipControl);
|
||||||
EnableFeature(Feature::TextureCompressionBC);
|
EnableFeature(Feature::TextureCompressionBC);
|
||||||
EnableFeature(Feature::SurfaceCapabilities);
|
EnableFeature(Feature::SurfaceCapabilities);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue