From a7b9e58c091048080e023a5064b6223945aab182 Mon Sep 17 00:00:00 2001 From: James Benton Date: Sun, 9 Oct 2016 20:56:01 +0100 Subject: [PATCH] gx2: Add missing CHECK_OFFSET for GX2ShadowState. --- include/gx2/context.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/gx2/context.h b/include/gx2/context.h index 0395640..2c2ed39 100644 --- a/include/gx2/context.h +++ b/include/gx2/context.h @@ -26,6 +26,13 @@ struct GX2ShadowState uint32_t sampler[0xA2]; PADDING((0xC0 - 0xA2) * 4); }; +CHECK_OFFSET(GX2ShadowState, 0x0000, config); +CHECK_OFFSET(GX2ShadowState, 0x2C00, context); +CHECK_OFFSET(GX2ShadowState, 0x3C00, alu); +CHECK_OFFSET(GX2ShadowState, 0x5C00, loop); +CHECK_OFFSET(GX2ShadowState, 0x5E00, resource); +CHECK_OFFSET(GX2ShadowState, 0x9500, sampler); +CHECK_SIZE(GX2ShadowState, 0x9800); struct GX2ContextState {