From: Tim Rowley Date: Thu, 28 Jul 2016 19:16:46 +0000 (-0600) Subject: swr: [rasterizer core] remove CanEarlyZ function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4034f48833a0e4a00636b24e4d4e7980202ef4aa;p=mesa.git swr: [rasterizer core] remove CanEarlyZ function Test is now in SetupPipeline. Signed-off-by: Tim Rowley --- 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();