From 9977270efed993b2599cd20ac58c7cce10069bde Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 23 Jun 2018 13:45:50 +0200 Subject: [PATCH] Add some missing GX2 defines --- include/gx2/enum.h | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/include/gx2/enum.h b/include/gx2/enum.h index c0d2ef6..a58dc5b 100644 --- a/include/gx2/enum.h +++ b/include/gx2/enum.h @@ -11,10 +11,19 @@ extern "C" { #endif -#define GX2_COMMAND_BUFFER_ALIGNMENT (0x40) -#define GX2_CONTEXT_STATE_ALIGNMENT (0x100) -#define GX2_SCAN_BUFFER_ALIGNMENT (0x1000) -#define GX2_SHADER_PROGRAM_ALIGNMENT (0x100) +#define GX2_FALSE 0 +#define GX2_TRUE 1 +#define GX2_DISABLE 0 +#define GX2_ENABLE 1 + +#define GX2_COMMAND_BUFFER_ALIGNMENT (0x40) +#define GX2_CONTEXT_STATE_ALIGNMENT (0x100) +#define GX2_SCAN_BUFFER_ALIGNMENT (0x1000) +#define GX2_SHADER_PROGRAM_ALIGNMENT (0x100) +#define GX2_VERTEX_BUFFER_ALIGNMENT (0x40) +#define GX2_INDEX_BUFFER_ALIGNMENT (0x20) + +#define GX2_COMMAND_BUFFER_SIZE (0x400000) typedef enum GX2AAMode {