summaryrefslogtreecommitdiff
path: root/src/core/hw/gpu.h
diff options
context:
space:
mode:
authorGravatar Tony Wasserka2014-08-23 13:42:34 +0200
committerGravatar Tony Wasserka2014-08-25 22:03:19 +0200
commit941762a573365884a2f7ec1d9a5c2634b9d97995 (patch)
tree984aa59299e265d15da39c5f04141b98df5c3d09 /src/core/hw/gpu.h
parentPica: Consolidate the primitive assembly code in PrimitiveAssembly and Geomet... (diff)
downloadyuzu-941762a573365884a2f7ec1d9a5c2634b9d97995.tar.gz
yuzu-941762a573365884a2f7ec1d9a5c2634b9d97995.tar.xz
yuzu-941762a573365884a2f7ec1d9a5c2634b9d97995.zip
GPU: Fix a compiler warning about redundant semicolons.
Diffstat (limited to 'src/core/hw/gpu.h')
-rw-r--r--src/core/hw/gpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hw/gpu.h b/src/core/hw/gpu.h
index d20311a00..7186bfa84 100644
--- a/src/core/hw/gpu.h
+++ b/src/core/hw/gpu.h
@@ -42,7 +42,7 @@ struct Regs {
42// depending on the current source line to make sure variable names are unique. 42// depending on the current source line to make sure variable names are unique.
43#define INSERT_PADDING_WORDS_HELPER1(x, y) x ## y 43#define INSERT_PADDING_WORDS_HELPER1(x, y) x ## y
44#define INSERT_PADDING_WORDS_HELPER2(x, y) INSERT_PADDING_WORDS_HELPER1(x, y) 44#define INSERT_PADDING_WORDS_HELPER2(x, y) INSERT_PADDING_WORDS_HELPER1(x, y)
45#define INSERT_PADDING_WORDS(num_words) u32 INSERT_PADDING_WORDS_HELPER2(pad, __LINE__)[(num_words)]; 45#define INSERT_PADDING_WORDS(num_words) u32 INSERT_PADDING_WORDS_HELPER2(pad, __LINE__)[(num_words)]
46 46
47// helper macro to make sure the defined structures are of the expected size. 47// helper macro to make sure the defined structures are of the expected size.
48#if defined(_MSC_VER) 48#if defined(_MSC_VER)
@@ -53,7 +53,7 @@ struct Regs {
53#else 53#else
54#define ASSERT_MEMBER_SIZE(name, size_in_bytes) \ 54#define ASSERT_MEMBER_SIZE(name, size_in_bytes) \
55 static_assert(sizeof(name) == size_in_bytes, \ 55 static_assert(sizeof(name) == size_in_bytes, \
56 "Structure size and register block length don't match"); 56 "Structure size and register block length don't match")
57#endif 57#endif
58 58
59 enum class FramebufferFormat : u32 { 59 enum class FramebufferFormat : u32 {