diff options
author | Tim Rowley <[email protected]> | 2017-10-23 15:10:35 -0500 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2017-11-20 13:50:29 -0600 |
commit | d9de8f3122737517352eeaa4d1f2e79360526eff (patch) | |
tree | 3de3e9847df613c450e889398ea94be2286badb0 /src/gallium/drivers | |
parent | 08512c52de783233fd2292951095e2456da843a4 (diff) |
swr/rast: Code style change (NFC)
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/core/frontend.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/core/frontend.cpp b/src/gallium/drivers/swr/rasterizer/core/frontend.cpp index e15b3009796..2fe6cfcf698 100644 --- a/src/gallium/drivers/swr/rasterizer/core/frontend.cpp +++ b/src/gallium/drivers/swr/rasterizer/core/frontend.cpp @@ -39,6 +39,7 @@ #include "tilemgr.h" #include "tessellator.h" #include <limits> +#include <iostream> ////////////////////////////////////////////////////////////////////////// /// @brief Helper macro to generate a bitmask @@ -770,6 +771,7 @@ void TransposeSOAtoAOS(uint8_t* pDst, uint8_t* pSrc, uint32_t numVerts, uint32_t } } + ////////////////////////////////////////////////////////////////////////// /// @brief Implements GS stage. /// @param pDC - pointer to draw context. @@ -1335,8 +1337,11 @@ static void TessellationStages( SWR_ASSERT(pfnClipFunc); #if USE_SIMD16_FRONTEND - tessPa.useAlternateOffset = false; - pfnClipFunc(pDC, tessPa, workerId, prim_simd16, GenMask(numPrims), primID); + + { + tessPa.useAlternateOffset = false; + pfnClipFunc(pDC, tessPa, workerId, prim_simd16, GenMask(numPrims), primID); + } #else pfnClipFunc(pDC, tessPa, workerId, prim, GenMask(tessPa.NumPrims()), _simd_set1_epi32(dsContext.PrimitiveID)); |