Commit d8504702 by Chris Forbes

Remove asserts on depth bounds values

We don't support the depth bounds test so these values do nothing; there is no validity requirement placed on these values Bug: b/118386749 Change-Id: I6e75181df6c2b497e91e2fa7a2029d408f8bacbe Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/27269Tested-by: 's avatarChris Forbes <chrisforbes@google.com> Presubmit-Ready: Chris Forbes <chrisforbes@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
parent d1ab73db
...@@ -356,9 +356,7 @@ GraphicsPipeline::GraphicsPipeline(const VkGraphicsPipelineCreateInfo* pCreateIn ...@@ -356,9 +356,7 @@ GraphicsPipeline::GraphicsPipeline(const VkGraphicsPipelineCreateInfo* pCreateIn
if(depthStencilState) if(depthStencilState)
{ {
if((depthStencilState->flags != 0) || if((depthStencilState->flags != 0) ||
(depthStencilState->depthBoundsTestEnable != 0) || (depthStencilState->depthBoundsTestEnable != 0))
(depthStencilState->minDepthBounds != 0.0f) ||
(depthStencilState->maxDepthBounds != 1.0f))
{ {
UNIMPLEMENTED(); UNIMPLEMENTED();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment