From 4034f48833a0e4a00636b24e4d4e7980202ef4aa Mon Sep 17 00:00:00 2001 From: Tim Rowley Date: Thu, 28 Jul 2016 13:16:46 -0600 Subject: [PATCH] swr: [rasterizer core] remove CanEarlyZ function Test is now in SetupPipeline. Signed-off-by: Tim Rowley --- src/gallium/drivers/swr/rasterizer/core/backend.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gallium/drivers/swr/rasterizer/core/backend.cpp b/src/gallium/drivers/swr/rasterizer/core/backend.cpp index e0392d056d5..b1e6c918715 100644 --- a/src/gallium/drivers/swr/rasterizer/core/backend.cpp +++ b/src/gallium/drivers/swr/rasterizer/core/backend.cpp @@ -397,12 +397,6 @@ const __m256 vULOffsetsY = {0.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0, 1.0}; #error Unsupported vector width #endif -INLINE -bool CanEarlyZ(const SWR_PS_STATE *pPSState) -{ - return (pPSState->forceEarlyZ || (!pPSState->writesODepth && !pPSState->usesSourceDepth && !pPSState->usesUAV)); -} - simdmask ComputeUserClipMask(uint8_t clipMask, float* pUserClipBuffer, simdscalar vI, simdscalar vJ) { simdscalar vClipMask = _simd_setzero_ps(); -- 2.30.2