Merge pull request #74 from Maschell/feature_gx2

Add some missing GX2 defines
This commit is contained in:
James 2018-06-25 00:53:30 -07:00 committed by GitHub
commit fdf9539c83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,10 +11,19 @@
extern "C" { extern "C" {
#endif #endif
#define GX2_FALSE 0
#define GX2_TRUE 1
#define GX2_DISABLE 0
#define GX2_ENABLE 1
#define GX2_COMMAND_BUFFER_ALIGNMENT (0x40) #define GX2_COMMAND_BUFFER_ALIGNMENT (0x40)
#define GX2_CONTEXT_STATE_ALIGNMENT (0x100) #define GX2_CONTEXT_STATE_ALIGNMENT (0x100)
#define GX2_SCAN_BUFFER_ALIGNMENT (0x1000) #define GX2_SCAN_BUFFER_ALIGNMENT (0x1000)
#define GX2_SHADER_PROGRAM_ALIGNMENT (0x100) #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 typedef enum GX2AAMode
{ {