diff options
author | Brian Paul <[email protected]> | 2008-10-22 11:08:45 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-10-22 11:08:45 -0600 |
commit | b7da4c3dc199ee382bb9924ac86a3485deccc62d (patch) | |
tree | 0977e003eb2439577826a288b25a208f1c39b672 /src/gallium/auxiliary/draw/draw_vs.c | |
parent | 70f4ad44985e3ec6dabc1b0e55a5bf85803a4cd4 (diff) |
gallium: PPC vertex shader support
Works, but dead code lingering, debug code present, etc.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_vs.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_vs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vs.c b/src/gallium/auxiliary/draw/draw_vs.c index 34adbd49b00..7f305304ff7 100644 --- a/src/gallium/auxiliary/draw/draw_vs.c +++ b/src/gallium/auxiliary/draw/draw_vs.c @@ -85,7 +85,10 @@ draw_create_vertex_shader(struct draw_context *draw, if (!vs) { vs = draw_create_vs_sse( draw, shader ); if (!vs) { - vs = draw_create_vs_exec( draw, shader ); + vs = draw_create_vs_ppc( draw, shader ); + if (!vs) { + vs = draw_create_vs_exec( draw, shader ); + } } } |