mirror of
https://github.com/devkitPro/wut.git
synced 2026-08-28 13:55:04 -05:00
Change LATTE_SQ_SEL to GX2_SQ_SEL.
latte is private stuff yo.
This commit is contained in:
31
include/gx2/utils.h
Normal file
31
include/gx2/utils.h
Normal file
@@ -0,0 +1,31 @@
|
||||
#pragma once
|
||||
#include <wut.h>
|
||||
|
||||
/**
|
||||
* \defgroup gx2_utils Utils
|
||||
* \ingroup gx2
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef enum GX2_SQ_SEL
|
||||
{
|
||||
GX2_SQ_SEL_X = 0,
|
||||
GX2_SQ_SEL_Y = 1,
|
||||
GX2_SQ_SEL_Z = 2,
|
||||
GX2_SQ_SEL_W = 3,
|
||||
GX2_SQ_SEL_0 = 4,
|
||||
GX2_SQ_SEL_1 = 5,
|
||||
GX2_SQ_SEL_MASK = 7,
|
||||
} GX2_SQ_SEL;
|
||||
|
||||
#define GX2_SQ_SEL_MASK(x, y, z, w) (((x) << 24) | ((y) << 16) | ((z) << 8) | (w))
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
@@ -1,31 +0,0 @@
|
||||
#pragma once
|
||||
#include <wut.h>
|
||||
|
||||
/**
|
||||
* \defgroup latte_enum_sq Latte SQ Enums
|
||||
* \ingroup latte
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef enum LATTE_SQ_SEL
|
||||
{
|
||||
LATTE_SQ_SEL_X = 0,
|
||||
LATTE_SQ_SEL_Y = 1,
|
||||
LATTE_SQ_SEL_Z = 2,
|
||||
LATTE_SQ_SEL_W = 3,
|
||||
LATTE_SQ_SEL_0 = 4,
|
||||
LATTE_SQ_SEL_1 = 5,
|
||||
LATTE_SQ_SEL_MASK = 7,
|
||||
} LATTE_SQ_SEL;
|
||||
|
||||
#define LATTE_SQ_SEL_MASK(x, y, z, w) (((x) << 24) | ((y) << 16) | ((z) << 8) | (w))
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
Reference in New Issue
Block a user