gx2: Add some alignment values to gx2/enum.h

This commit is contained in:
James Benton 2017-05-10 17:28:09 +01:00
parent 91621b39b1
commit f177555ca3
3 changed files with 8 additions and 5 deletions

View File

@ -11,6 +11,11 @@
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)
typedef enum GX2AAMode
{
GX2_AA_MODE1X = 0,

View File

@ -63,15 +63,15 @@ GX2GetRetiredTimeStamp();
OSTime
GX2GetLastSubmittedTimeStamp();
BOOL
GX2WaitTimeStamp(OSTime time);
void
GX2GetSwapStatus(uint32_t *swapCount,
uint32_t *flipCount,
OSTime *lastFlip,
OSTime *lastVsync);
BOOL
GX2WaitTimeStamp(OSTime time);
#ifdef __cplusplus
}
#endif

View File

@ -14,8 +14,6 @@
extern "C" {
#endif
#define GX2_SHADER_PROGRAM_ALIGNMENT (0x100)
typedef struct GX2AttribVar GX2AttribVar;
typedef struct GX2AttribStream GX2AttribStream;
typedef struct GX2FetchShader GX2FetchShader;