16 #define GX2_DISABLE (0)
17 #define GX2_ENABLE (1)
19 #define GX2_COMMAND_BUFFER_ALIGNMENT (0x40)
20 #define GX2_CONTEXT_STATE_ALIGNMENT (0x100)
21 #define GX2_SCAN_BUFFER_ALIGNMENT (0x1000)
22 #define GX2_SHADER_PROGRAM_ALIGNMENT (0x100)
23 #define GX2_VERTEX_BUFFER_ALIGNMENT (0x40)
24 #define GX2_INDEX_BUFFER_ALIGNMENT (0x20)
25 #define GX2_UNIFORM_BLOCK_ALIGNMENT (0x100)
27 #define GX2_COMMAND_BUFFER_SIZE (0x400000)
@ GX2_ALPHA_TO_MASK_MODE_DITHER_0
@ GX2_ALPHA_TO_MASK_MODE_NON_DITHERED
@ GX2_ALPHA_TO_MASK_MODE_DITHER_180
@ GX2_ALPHA_TO_MASK_MODE_DITHER_270
@ GX2_ALPHA_TO_MASK_MODE_DITHER_90
@ GX2_TEX_Z_PERF_MODE_DISABLED
@ GX2_BUFFERING_MODE_TRIPLE
@ GX2_BUFFERING_MODE_SINGLE
@ GX2_BUFFERING_MODE_DOUBLE
@ GX2_STENCIL_FUNCTION_INV
@ GX2_STENCIL_FUNCTION_REPLACE
@ GX2_STENCIL_FUNCTION_DECR_CLAMP
@ GX2_STENCIL_FUNCTION_INCR_WRAP
@ GX2_STENCIL_FUNCTION_INCR_CLAMP
@ GX2_STENCIL_FUNCTION_ZERO
@ GX2_STENCIL_FUNCTION_DECR_WRAP
@ GX2_STENCIL_FUNCTION_KEEP
@ GX2_TV_RENDER_MODE_DISABLED
@ GX2_TV_RENDER_MODE_STANDARD_480P
@ GX2_TV_RENDER_MODE_WIDE_480P
@ GX2_TV_RENDER_MODE_WIDE_1080P
@ GX2_TV_RENDER_MODE_WIDE_720P
@ GX2_ROUNDING_MODE_ROUND_TO_EVEN
@ GX2_ROUNDING_MODE_TRUNCATE
@ GX2_COMPARE_FUNC_GREATER
@ GX2_COMPARE_FUNC_ALWAYS
@ GX2_COMPARE_FUNC_LEQUAL
@ GX2_COM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GX2_SURFACE_FORMAT_UINT_R32_G32
@ GX2_SURFACE_FORMAT_UNORM_R5_G5_B5_A1
@ GX2_SURFACE_FORMAT_UNORM_BC2
@ GX2_SURFACE_FORMAT_UNORM_BC3
@ GX2_SURFACE_FORMAT_SINT_R16_G16
@ GX2_SURFACE_FORMAT_UNORM_R8_G8_B8_A8
@ GX2_SURFACE_FORMAT_SNORM_R16_G16
@ GX2_SURFACE_FORMAT_UINT_R32_G32_B32_A32
@ GX2_SURFACE_FORMAT_UNORM_A2_B10_G10_R10
@ GX2_SURFACE_FORMAT_SNORM_BC5
@ GX2_SURFACE_FORMAT_UNORM_A1_B5_G5_R5
@ GX2_SURFACE_FORMAT_FLOAT_R11_G11_B10
@ GX2_SURFACE_FORMAT_SINT_R16_G16_B16_A16
@ GX2_SURFACE_FORMAT_SNORM_R16_G16_B16_A16
@ GX2_SURFACE_FORMAT_SINT_R8_G8_B8_A8
@ GX2_SURFACE_FORMAT_UINT_R10_G10_B10_A2
@ GX2_SURFACE_FORMAT_UINT_R8_G8
@ GX2_SURFACE_FORMAT_UNORM_R8
@ GX2_SURFACE_FORMAT_SRGB_BC3
@ GX2_SURFACE_FORMAT_SINT_R10_G10_B10_A2
@ GX2_SURFACE_FORMAT_FLOAT_R32_G32_B32_A32
@ GX2_SURFACE_FORMAT_UNORM_NV12
@ GX2_SURFACE_FORMAT_FLOAT_R16
@ GX2_SURFACE_FORMAT_UNORM_BC1
@ GX2_SURFACE_FORMAT_UINT_X24_G8
@ GX2_SURFACE_FORMAT_FLOAT_X8_X24
@ GX2_SURFACE_FORMAT_INVALID
@ GX2_SURFACE_FORMAT_UNORM_R5_G6_B5
@ GX2_SURFACE_FORMAT_SNORM_R10_G10_B10_A2
@ GX2_SURFACE_FORMAT_SNORM_R8_G8
@ GX2_SURFACE_FORMAT_SINT_R32_G32
@ GX2_SURFACE_FORMAT_SNORM_R8_G8_B8_A8
@ GX2_SURFACE_FORMAT_UNORM_R8_G8
@ GX2_SURFACE_FORMAT_SINT_R32_G32_B32_A32
@ GX2_SURFACE_FORMAT_UINT_R16
@ GX2_SURFACE_FORMAT_SINT_R16
@ GX2_SURFACE_FORMAT_SRGB_R8_G8_B8_A8
@ GX2_SURFACE_FORMAT_SINT_R8_G8
@ GX2_SURFACE_FORMAT_FLOAT_D24_S8
@ GX2_SURFACE_FORMAT_UNORM_R4_G4
@ GX2_SURFACE_FORMAT_UNORM_BC4
@ GX2_SURFACE_FORMAT_UNORM_R16
@ GX2_SURFACE_FORMAT_UNORM_R24_X8
@ GX2_SURFACE_FORMAT_UINT_R8_G8_B8_A8
@ GX2_SURFACE_FORMAT_UINT_R8
@ GX2_SURFACE_FORMAT_FLOAT_R16_G16_B16_A16
@ GX2_SURFACE_FORMAT_UNORM_R10_G10_B10_A2
@ GX2_SURFACE_FORMAT_FLOAT_R32_G32
@ GX2_SURFACE_FORMAT_SNORM_R16
@ GX2_SURFACE_FORMAT_UINT_R16_G16
@ GX2_SURFACE_FORMAT_FLOAT_R32
@ GX2_SURFACE_FORMAT_SRGB_BC2
@ GX2_SURFACE_FORMAT_SNORM_R8
@ GX2_SURFACE_FORMAT_UINT_A2_B10_G10_R10
@ GX2_SURFACE_FORMAT_FLOAT_R16_G16
@ GX2_SURFACE_FORMAT_UINT_R32
@ GX2_SURFACE_FORMAT_SINT_R32
@ GX2_SURFACE_FORMAT_SNORM_BC4
@ GX2_SURFACE_FORMAT_SINT_R8
@ GX2_SURFACE_FORMAT_UINT_G8_X24
@ GX2_SURFACE_FORMAT_UNORM_R4_G4_B4_A4
@ GX2_SURFACE_FORMAT_UNORM_BC5
@ GX2_SURFACE_FORMAT_UNORM_R16_G16
@ GX2_SURFACE_FORMAT_SRGB_BC1
@ GX2_SURFACE_FORMAT_UNORM_R16_G16_B16_A16
@ GX2_SURFACE_FORMAT_UINT_R16_G16_B16_A16
@ GX2_BLEND_MODE_DST_ALPHA
@ GX2_BLEND_MODE_INV_SRC1_ALPHA
@ GX2_BLEND_MODE_INV_CONSTANT_ALPHA
@ GX2_BLEND_MODE_INV_SRC_ALPHA
@ GX2_BLEND_MODE_INV_SRC1_COLOR
@ GX2_BLEND_MODE_SRC1_ALPHA
@ GX2_BLEND_MODE_INV_SRC_COLOR
@ GX2_BLEND_MODE_INV_DST_ALPHA
@ GX2_BLEND_MODE_BOTH_SRC_ALPHA
@ GX2_BLEND_MODE_SRC1_COLOR
@ GX2_BLEND_MODE_DST_COLOR
@ GX2_BLEND_MODE_CONSTANT_ALPHA
@ GX2_BLEND_MODE_BOTH_INV_SRC_ALPHA
@ GX2_BLEND_MODE_INV_DST_COLOR
@ GX2_BLEND_MODE_SRC_ALPHA_SAT
@ GX2_BLEND_MODE_SRC_COLOR
@ GX2_BLEND_MODE_BLEND_FACTOR
@ GX2_BLEND_MODE_INV_BLEND_FACTOR
@ GX2_BLEND_MODE_SRC_ALPHA
@ GX2_FETCH_SHADER_TESSELLATION_NONE
@ GX2_FETCH_SHADER_TESSELLATION_QUAD
@ GX2_FETCH_SHADER_TESSELLATION_TRIANGLE
@ GX2_FETCH_SHADER_TESSELLATION_LINE
@ GX2_DRC_RENDER_MODE_DISABLED
@ GX2_DRC_RENDER_MODE_DOUBLE
@ GX2_DRC_RENDER_MODE_SINGLE
@ GX2_CLEAR_FLAGS_STENCIL
@ GX2_SHADER_VAR_TYPE_FLOAT2X3
@ GX2_SHADER_VAR_TYPE_DOUBLE3X4
@ GX2_SHADER_VAR_TYPE_FLOAT3X2
@ GX2_SHADER_VAR_TYPE_FLOAT2
@ GX2_SHADER_VAR_TYPE_DOUBLE3X3
@ GX2_SHADER_VAR_TYPE_DOUBLE2X2
@ GX2_SHADER_VAR_TYPE_INT4
@ GX2_SHADER_VAR_TYPE_FLOAT4X4
@ GX2_SHADER_VAR_TYPE_INT2
@ GX2_SHADER_VAR_TYPE_FLOAT3X3
@ GX2_SHADER_VAR_TYPE_BOOL3
@ GX2_SHADER_VAR_TYPE_DOUBLE2
@ GX2_SHADER_VAR_TYPE_DOUBLE2X3
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E_ADD
@ GX2_BLEND_COMBINE_MODE_REV_SUB
@ GX2_BLEND_COMBINE_MODE_SUB
@ GX2_PRIMITIVE_MODE_TRIANGLE_STRIP
@ GX2_PRIMITIVE_MODE_POINTS
@ GX2_PRIMITIVE_MODE_LINE_LOOP
@ GX2_PRIMITIVE_MODE_TRIANGLES_ADJACENCY
@ GX2_PRIMITIVE_MODE_LINES
@ GX2_PRIMITIVE_MODE_QUADS
@ GX2_PRIMITIVE_MODE_RECTS
@ GX2_PRIMITIVE_MODE_TRIANGLES
@ GX2_PRIMITIVE_MODE_QUAD_STRIP
@ GX2_PRIMITIVE_MODE_TRIANGLE_STRIP_ADJACENCY
@ GX2_PRIMITIVE_MODE_LINE_STRIP_ADJACENCY
@ GX2_PRIMITIVE_MODE_LINES_ADJACENCY
@ GX2_PRIMITIVE_MODE_LINE_STRIP
@ GX2_PRIMITIVE_MODE_TRIANGLE_FAN
@ GX2_TEX_MIP_PERF_MODE_DISABLE
@ GX2_INVALIDATE_MODE_ATTRIBUTE_BUFFER
@ GX2_INVALIDATE_MODE_CPU_ATTRIBUTE_BUFFER
@ GX2_INVALIDATE_MODE_CPU_SHADER
@ GX2_INVALIDATE_MODE_SHADER
@ GX2_INVALIDATE_MODE_UNIFORM_BLOCK
@ GX2_INVALIDATE_MODE_NONE
@ GX2_INVALIDATE_MODE_CPU
@ GX2_INVALIDATE_MODE_COLOR_BUFFER
@ GX2_INVALIDATE_MODE_EXPORT_BUFFER
@ GX2_INVALIDATE_MODE_CPU_TEXTURE
@ GX2_INVALIDATE_MODE_TEXTURE
@ GX2_INVALIDATE_MODE_STREAM_OUT_BUFFER
@ GX2_INVALIDATE_MODE_DEPTH_BUFFER
@ GX2_ENDIAN_SWAP_8_IN_32
@ GX2_ENDIAN_SWAP_8_IN_16
@ GX2_ENDIAN_SWAP_DEFAULT
@ GX2_SHADER_MODE_UNIFORM_BLOCK
@ GX2_SHADER_MODE_COMPUTE_SHADER
@ GX2_SHADER_MODE_GEOMETRY_SHADER
@ GX2_SHADER_MODE_UNIFORM_REGISTER
@ GX2_SAMPLER_VAR_TYPE_SAMPLER_2D
@ GX2_SAMPLER_VAR_TYPE_SAMPLER_CUBE
@ GX2_SAMPLER_VAR_TYPE_SAMPLER_3D
@ GX2_SAMPLER_VAR_TYPE_SAMPLER_1D
@ GX2_SURFACE_DIM_TEXTURE_CUBE
@ GX2_SURFACE_DIM_TEXTURE_3D
@ GX2_SURFACE_DIM_TEXTURE_1D_ARRAY
@ GX2_SURFACE_DIM_TEXTURE_2D
@ GX2_SURFACE_DIM_TEXTURE_1D
@ GX2_SURFACE_DIM_TEXTURE_2D_MSAA_ARRAY
@ GX2_SURFACE_DIM_TEXTURE_2D_MSAA
@ GX2_SURFACE_DIM_TEXTURE_2D_ARRAY
@ GX2_TEX_ANISO_RATIO_8_TO_1
@ GX2_TEX_ANISO_RATIO_16_TO_1
@ GX2_TEX_ANISO_RATIO_4_TO_1
@ GX2_TEX_ANISO_RATIO_2_TO_1
@ GX2_TEX_ANISO_RATIO_NONE
@ GX2_TEX_MIP_FILTER_MODE_LINEAR
@ GX2_TEX_MIP_FILTER_MODE_POINT
@ GX2_TEX_MIP_FILTER_MODE_NONE
@ GX2_ATTRIB_INDEX_PER_INSTANCE
@ GX2_ATTRIB_INDEX_PER_VERTEX
@ GX2_EVENT_TYPE_DISPLAY_LIST_OVERRUN
@ GX2_EVENT_TYPE_START_OF_PIPE_INTERRUPT
@ GX2_EVENT_TYPE_END_OF_PIPE_INTERRUPT
@ GX2_TILE_MODE_TILED_2B_THIN4
@ GX2_TILE_MODE_TILED_2D_THIN1
@ GX2_TILE_MODE_TILED_2D_THICK
@ GX2_TILE_MODE_TILED_3D_THIN1
@ GX2_TILE_MODE_TILED_1D_THICK
@ GX2_TILE_MODE_LINEAR_ALIGNED
@ GX2_TILE_MODE_TILED_2B_THIN2
@ GX2_TILE_MODE_TILED_2B_THICK
@ GX2_TILE_MODE_TILED_3B_THICK
@ GX2_TILE_MODE_TILED_2D_THIN4
@ GX2_TILE_MODE_TILED_2D_THIN2
@ GX2_TILE_MODE_TILED_3D_THICK
@ GX2_TILE_MODE_TILED_2B_THIN1
@ GX2_TILE_MODE_TILED_3B_THIN1
@ GX2_TILE_MODE_LINEAR_SPECIAL
@ GX2_TILE_MODE_TILED_1D_THIN1
@ GX2_INIT_CMD_BUF_POOL_SIZE
@ GX2_INIT_APP_IO_THREAD_STACK_SIZE
@ GX2_TESSELLATION_MODE_CONTINUOUS
@ GX2_TESSELLATION_MODE_DISCRETE
@ GX2_TESSELLATION_MODE_ADAPTIVE
@ GX2_TEX_Z_FILTER_MODE_NONE
@ GX2_TEX_Z_FILTER_MODE_LINEAR
@ GX2_TEX_Z_FILTER_MODE_POINT
@ GX2_POLYGON_MODE_TRIANGLE
@ GX2_SURFACE_USE_TEXTURE_COLOR_BUFFER_TV
@ GX2_SURFACE_USE_DEPTH_BUFFER
@ GX2_SURFACE_USE_SCAN_BUFFER
@ GX2_SURFACE_USE_COLOR_BUFFER
@ GX2_SURFACE_USE_TEXTURE
@ GX2_TEX_XY_FILTER_MODE_BICUBIC
@ GX2_TEX_XY_FILTER_MODE_POINT
@ GX2_TEX_XY_FILTER_MODE_LINEAR
WUT_ENUM_BITMASK_TYPE(WPADLed)