diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-03-01 18:12:09 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-03-01 18:53:32 +0000 |
commit | c828f784e54fa3bec3c4295dfdffce0ae9fb5e9c (patch) | |
tree | 696e86b194741ace1e9197294f01751b1e4782df /src/gallium/drivers/cell/ppu/cell_state_per_fragment.c | |
parent | 0b6e45e1ee55a63db5cb43fe863e054e13e87869 (diff) |
cell: Rename pipe formats.
Diffstat (limited to 'src/gallium/drivers/cell/ppu/cell_state_per_fragment.c')
-rw-r--r-- | src/gallium/drivers/cell/ppu/cell_state_per_fragment.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_state_per_fragment.c b/src/gallium/drivers/cell/ppu/cell_state_per_fragment.c index 07be5e92ea..dc33e7ccc2 100644 --- a/src/gallium/drivers/cell/ppu/cell_state_per_fragment.c +++ b/src/gallium/drivers/cell/ppu/cell_state_per_fragment.c @@ -1251,7 +1251,7 @@ cell_generate_logic_op(struct spe_function *f, /* Convert fragment colors to framebuffer format in AoS layout. */ switch (surf->format) { - case PIPE_FORMAT_A8R8G8B8_UNORM: + case PIPE_FORMAT_B8G8R8A8_UNORM: data[0] = 0x00010203; data[1] = 0x10111213; data[2] = 0x04050607; @@ -1261,7 +1261,7 @@ cell_generate_logic_op(struct spe_function *f, data[6] = 0x80808080; data[7] = 0x80808080; break; - case PIPE_FORMAT_B8G8R8A8_UNORM: + case PIPE_FORMAT_A8R8G8B8_UNORM: data[0] = 0x03020100; data[1] = 0x13121110; data[2] = 0x07060504; |