anv/gen8: Fix SF_CLIP_VIEWPORT's Z elements
authorChad Versace <chad.versace@intel.com>
Fri, 15 Jan 2016 05:29:46 +0000 (21:29 -0800)
committerChad Versace <chad.versace@intel.com>
Fri, 15 Jan 2016 06:53:05 +0000 (22:53 -0800)
commit1afe33f8b30d66ac9952e996cb3ce132c55c534f
tree7d98842ddfb01adccccd6dcda884906c4171d929
parent842b424d3b2fb75c3abd928869dc0cb2935a1bed
anv/gen8: Fix SF_CLIP_VIEWPORT's Z elements

SF_CLIP_VIEWPORT does not clamp Z values. It only scales and shifts
them. Clamping to VkViewport::minDepth,maxDepth is instead handled by
CC_VIEWPORT.

Fixes dEQP-VK.renderpass.simple.depth on Broadwell.
src/vulkan/gen8_cmd_buffer.c