Mesa (master): swr: [rasterizer core] Code formating change

Tim Rowley torowley at kemper.freedesktop.org
Tue Apr 11 23:11:45 UTC 2017


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

Author: Tim Rowley <timothy.o.rowley at intel.com>
Date:   Thu Apr  6 18:21:54 2017 -0500

swr: [rasterizer core] Code formating change

Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>

---

 src/gallium/drivers/swr/rasterizer/core/state.h | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/gallium/drivers/swr/rasterizer/core/state.h b/src/gallium/drivers/swr/rasterizer/core/state.h
index eec68cd468..535b85e859 100644
--- a/src/gallium/drivers/swr/rasterizer/core/state.h
+++ b/src/gallium/drivers/swr/rasterizer/core/state.h
@@ -1131,16 +1131,16 @@ struct SWR_PS_STATE
     PFN_PIXEL_KERNEL pfnPixelShader;  // @llvm_pfn
 
     // dword 2
-    uint32_t killsPixel         : 1;    // pixel shader can kill pixels
-    uint32_t inputCoverage      : 2;    // ps uses input coverage
-    uint32_t writesODepth       : 1;    // pixel shader writes to depth
-    uint32_t usesSourceDepth    : 1;    // pixel shader reads depth
-    uint32_t shadingRate        : 2;    // shading per pixel / sample / coarse pixel
-    uint32_t numRenderTargets   : 4;    // number of render target outputs in use (0-8)
-    uint32_t posOffset          : 2;    // type of offset (none, sample, centroid) to add to pixel position
-    uint32_t barycentricsMask   : 3;    // which type(s) of barycentric coords does the PS interpolate attributes with
-    uint32_t usesUAV            : 1;    // pixel shader accesses UAV 
-    uint32_t forceEarlyZ        : 1;    // force execution of early depth/stencil test
+    uint32_t killsPixel             : 1;    // pixel shader can kill pixels
+    uint32_t inputCoverage          : 2;    // ps uses input coverage
+    uint32_t writesODepth           : 1;    // pixel shader writes to depth
+    uint32_t usesSourceDepth        : 1;    // pixel shader reads depth
+    uint32_t shadingRate            : 2;    // shading per pixel / sample / coarse pixel
+    uint32_t numRenderTargets       : 4;    // number of render target outputs in use (0-8)
+    uint32_t posOffset              : 2;    // type of offset (none, sample, centroid) to add to pixel position
+    uint32_t barycentricsMask       : 3;    // which type(s) of barycentric coords does the PS interpolate attributes with
+    uint32_t usesUAV                : 1;    // pixel shader accesses UAV 
+    uint32_t forceEarlyZ            : 1;    // force execution of early depth/stencil test
 };
 
 // depth bounds state




More information about the mesa-commit mailing list