summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2016-07-28 13:16:46 -0600
committerTim Rowley <[email protected]>2016-08-04 14:38:34 -0500
commit4034f48833a0e4a00636b24e4d4e7980202ef4aa (patch)
treeee3e68d049587a419e90ddfd0e81f973016731a6 /src/gallium
parentb3659898759e178a6b971902d13fc9098fd1350e (diff)
swr: [rasterizer core] remove CanEarlyZ function
Test is now in SetupPipeline. Signed-off-by: Tim Rowley <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/swr/rasterizer/core/backend.cpp6
1 files changed, 0 insertions, 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();