[Mesa-dev] [PATCH 05/12] swr: [rasterizer core] Code formating change

Tim Rowley timothy.o.rowley at intel.com
Mon Apr 10 16:45:26 UTC 2017


---
 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 eec68cd..535b85e 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
-- 
2.7.4



More information about the mesa-dev mailing list