diff options
author | Ian Romanick <idr@us.ibm.com> | 2008-02-15 11:03:54 -0800 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2008-02-15 11:03:54 -0800 |
commit | 3320b1874e810583f95b93a89697b2955987b84f (patch) | |
tree | eb5728ced047307ea59302ed77588c9457ccdd2a /src/gallium/drivers/cell/ppu/cell_vertex_fetch.c | |
parent | 71071b7a9e8e9cdd3ef9648e70bde04507516765 (diff) |
Cell: Enable code gen for SPE attribute fetch
Doubles are still unsupported.
Diffstat (limited to 'src/gallium/drivers/cell/ppu/cell_vertex_fetch.c')
-rw-r--r-- | src/gallium/drivers/cell/ppu/cell_vertex_fetch.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_vertex_fetch.c b/src/gallium/drivers/cell/ppu/cell_vertex_fetch.c index f2432f4ff5..f10689a959 100644 --- a/src/gallium/drivers/cell/ppu/cell_vertex_fetch.c +++ b/src/gallium/drivers/cell/ppu/cell_vertex_fetch.c @@ -27,10 +27,10 @@ #include "pipe/p_context.h" #include "pipe/p_format.h" -#include "pipe/draw/draw_context.h" -#include "pipe/draw/draw_private.h" +#include "../auxiliary/draw/draw_context.h" +#include "../auxiliary/draw/draw_private.h" -#include "pipe/cell/ppu/cell_context.h" +#include "cell_context.h" #include "ppc/rtasm/spe_asm.h" typedef uint64_t register_mask; @@ -380,13 +380,4 @@ void cell_update_vertex_fetch(struct draw_context *draw) cell->attrib_fetch_offsets[function_index[i]]; } } - - static first_time = 1; - if (first_time) { - first_time = 0; - const unsigned instructions = p->csr - p->store; - for (i = 0; i < instructions; i++) { - printf("\t.long\t0x%08x\n", p->store[i]); - } - } } |