swr: [rasterizer core] remove CanEarlyZ function
authorTim Rowley <timothy.o.rowley@intel.com>
Thu, 28 Jul 2016 19:16:46 +0000 (13:16 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Thu, 4 Aug 2016 19:38:34 +0000 (14:38 -0500)
Test is now in SetupPipeline.

Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
src/gallium/drivers/swr/rasterizer/core/backend.cpp

index e0392d056d516ffdb531b9752ea76c220e76a91d..b1e6c91871500d76775b16fae5e4afb9708c3947 100644 (file)
@@ -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();