Mesa (master): swr: [rasterizer core] remove CanEarlyZ function

Tim Rowley torowley at kemper.freedesktop.org
Thu Aug 4 19:57:12 UTC 2016


Module: Mesa
Branch: master
Commit: 4034f48833a0e4a00636b24e4d4e7980202ef4aa
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4034f48833a0e4a00636b24e4d4e7980202ef4aa

Author: Tim Rowley <timothy.o.rowley at intel.com>
Date:   Thu Jul 28 13:16:46 2016 -0600

swr: [rasterizer core] remove CanEarlyZ function

Test is now in SetupPipeline.

Signed-off-by: Tim Rowley <timothy.o.rowley at intel.com>

---

 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 e0392d0..b1e6c91 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();




More information about the mesa-commit mailing list