mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
Cell: move float4 typedef (temporary datatype)
This commit is contained in:
parent
1a75464cdc
commit
93d061b217
2 changed files with 6 additions and 7 deletions
|
|
@ -41,13 +41,6 @@
|
|||
#define MAX_HEIGHT 1024
|
||||
|
||||
|
||||
typedef union
|
||||
{
|
||||
vector float v;
|
||||
float f[4];
|
||||
} float4;
|
||||
|
||||
|
||||
typedef union {
|
||||
ushort us[TILE_SIZE][TILE_SIZE];
|
||||
uint ui[TILE_SIZE][TILE_SIZE];
|
||||
|
|
|
|||
|
|
@ -45,6 +45,12 @@
|
|||
/** Masks are uint[4] vectors with each element being 0 or 0xffffffff */
|
||||
typedef vector unsigned int mask_t;
|
||||
|
||||
typedef union
|
||||
{
|
||||
vector float v;
|
||||
float f[4];
|
||||
} float4;
|
||||
|
||||
|
||||
/**
|
||||
* Simplified types taken from other parts of Gallium
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue