From e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 17 Apr 2019 06:17:24 +0200 Subject: ClangFormat: apply to source, most of intern Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat --- source/blender/gpu/GPU_primitive.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'source/blender/gpu/GPU_primitive.h') diff --git a/source/blender/gpu/GPU_primitive.h b/source/blender/gpu/GPU_primitive.h index fdb6f380f3b..0f4becc6bff 100644 --- a/source/blender/gpu/GPU_primitive.h +++ b/source/blender/gpu/GPU_primitive.h @@ -29,28 +29,28 @@ #include "GPU_common.h" typedef enum { - GPU_PRIM_POINTS, - GPU_PRIM_LINES, - GPU_PRIM_TRIS, - GPU_PRIM_LINE_STRIP, - GPU_PRIM_LINE_LOOP, /* GL has this, Vulkan does not */ - GPU_PRIM_TRI_STRIP, - GPU_PRIM_TRI_FAN, - - GPU_PRIM_LINES_ADJ, - GPU_PRIM_TRIS_ADJ, - GPU_PRIM_LINE_STRIP_ADJ, - - GPU_PRIM_NONE, + GPU_PRIM_POINTS, + GPU_PRIM_LINES, + GPU_PRIM_TRIS, + GPU_PRIM_LINE_STRIP, + GPU_PRIM_LINE_LOOP, /* GL has this, Vulkan does not */ + GPU_PRIM_TRI_STRIP, + GPU_PRIM_TRI_FAN, + + GPU_PRIM_LINES_ADJ, + GPU_PRIM_TRIS_ADJ, + GPU_PRIM_LINE_STRIP_ADJ, + + GPU_PRIM_NONE, } GPUPrimType; /* what types of primitives does each shader expect? */ typedef enum { - GPU_PRIM_CLASS_NONE = 0, - GPU_PRIM_CLASS_POINT = (1 << 0), - GPU_PRIM_CLASS_LINE = (1 << 1), - GPU_PRIM_CLASS_SURFACE = (1 << 2), - GPU_PRIM_CLASS_ANY = GPU_PRIM_CLASS_POINT | GPU_PRIM_CLASS_LINE | GPU_PRIM_CLASS_SURFACE, + GPU_PRIM_CLASS_NONE = 0, + GPU_PRIM_CLASS_POINT = (1 << 0), + GPU_PRIM_CLASS_LINE = (1 << 1), + GPU_PRIM_CLASS_SURFACE = (1 << 2), + GPU_PRIM_CLASS_ANY = GPU_PRIM_CLASS_POINT | GPU_PRIM_CLASS_LINE | GPU_PRIM_CLASS_SURFACE, } GPUPrimClass; GPUPrimClass GPU_primtype_class(GPUPrimType); -- cgit v1.2.3