mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-07 23:40:44 +01:00
gx2: Add some alignment values to gx2/enum.h
This commit is contained in:
parent
91621b39b1
commit
f177555ca3
@ -11,6 +11,11 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#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
|
typedef enum GX2AAMode
|
||||||
{
|
{
|
||||||
GX2_AA_MODE1X = 0,
|
GX2_AA_MODE1X = 0,
|
||||||
|
@ -63,15 +63,15 @@ GX2GetRetiredTimeStamp();
|
|||||||
OSTime
|
OSTime
|
||||||
GX2GetLastSubmittedTimeStamp();
|
GX2GetLastSubmittedTimeStamp();
|
||||||
|
|
||||||
BOOL
|
|
||||||
GX2WaitTimeStamp(OSTime time);
|
|
||||||
|
|
||||||
void
|
void
|
||||||
GX2GetSwapStatus(uint32_t *swapCount,
|
GX2GetSwapStatus(uint32_t *swapCount,
|
||||||
uint32_t *flipCount,
|
uint32_t *flipCount,
|
||||||
OSTime *lastFlip,
|
OSTime *lastFlip,
|
||||||
OSTime *lastVsync);
|
OSTime *lastVsync);
|
||||||
|
|
||||||
|
BOOL
|
||||||
|
GX2WaitTimeStamp(OSTime time);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -14,8 +14,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define GX2_SHADER_PROGRAM_ALIGNMENT (0x100)
|
|
||||||
|
|
||||||
typedef struct GX2AttribVar GX2AttribVar;
|
typedef struct GX2AttribVar GX2AttribVar;
|
||||||
typedef struct GX2AttribStream GX2AttribStream;
|
typedef struct GX2AttribStream GX2AttribStream;
|
||||||
typedef struct GX2FetchShader GX2FetchShader;
|
typedef struct GX2FetchShader GX2FetchShader;
|
||||||
|
Loading…
Reference in New Issue
Block a user