vk: Reindent and document struct anv_depth_stencil_view
authorChad Versace <chad.versace@intel.com>
Fri, 26 Jun 2015 02:42:09 +0000 (19:42 -0700)
committerChad Versace <chad.versace@intel.com>
Fri, 26 Jun 2015 03:10:16 +0000 (20:10 -0700)
src/vulkan/private.h

index 7833f080b534e1d2608482a1dea021ec9a84201d..397881f75a4c877064a70f77da8024658390726b 100644 (file)
@@ -858,14 +858,14 @@ struct anv_sampler {
 };
 
 struct anv_depth_stencil_view {
-   struct anv_bo *                              bo;
+   struct anv_bo *bo;
 
-   uint32_t                                     depth_offset;
-   uint32_t                                     depth_stride;
-   uint32_t                                     depth_format;
+   uint32_t depth_offset; /**< Offset into bo. */
+   uint32_t depth_stride; /**< 3DSTATE_DEPTH_BUFFER.SurfacePitch */
+   uint32_t depth_format; /**< 3DSTATE_DEPTH_BUFFER.SurfaceFormat */
 
-   uint32_t                                     stencil_offset;
-   uint32_t                                     stencil_stride;
+   uint32_t stencil_offset; /**< Offset into bo. */
+   uint32_t stencil_stride; /**< 3DSTATE_STENCIL_BUFFER.SurfacePitch */
 };
 
 struct anv_framebuffer {