瀏覽代碼

Cell: move float4 typedef (temporary datatype)

tags/mesa_20090313
Brian 17 年之前
父節點
當前提交
4540e01978
共有 2 個檔案被更改,包括 6 行新增7 行删除
  1. 0
    7
      src/mesa/pipe/cell/spu/spu_main.h
  2. 6
    0
      src/mesa/pipe/cell/spu/spu_tri.c

+ 0
- 7
src/mesa/pipe/cell/spu/spu_main.h 查看文件

@@ -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];

+ 6
- 0
src/mesa/pipe/cell/spu/spu_tri.c 查看文件

@@ -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…
取消
儲存