mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 20:43:10 +00:00
commit
1657b9b7c4
@ -2496,11 +2496,12 @@ typedef struct
|
|||||||
#define ALIGN(x) __declspec(align(x))
|
#define ALIGN(x) __declspec(align(x))
|
||||||
#else
|
#else
|
||||||
#define ALIGN(x) __attribute__((aligned(x)))
|
#define ALIGN(x) __attribute__((aligned(x)))
|
||||||
|
#define static_assert _Static_assert
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ALIGN(16)
|
|
||||||
typedef struct
|
typedef struct ALIGN(16)
|
||||||
{
|
{
|
||||||
math_matrix_4x4 mvp;
|
math_matrix_4x4 mvp;
|
||||||
struct
|
struct
|
||||||
@ -2511,6 +2512,8 @@ typedef struct
|
|||||||
float time;
|
float time;
|
||||||
} d3d11_uniform_t;
|
} d3d11_uniform_t;
|
||||||
|
|
||||||
|
static_assert(!(sizeof(d3d11_uniform_t)&0xF), "sizeof(d3d11_uniform_t) must be a multiple of 16");
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
unsigned cur_mon_id;
|
unsigned cur_mon_id;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user