summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_vs.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-10-22 11:08:45 -0600
committerBrian Paul <[email protected]>2008-10-22 11:08:45 -0600
commitb7da4c3dc199ee382bb9924ac86a3485deccc62d (patch)
tree0977e003eb2439577826a288b25a208f1c39b672 /src/gallium/auxiliary/draw/draw_vs.c
parent70f4ad44985e3ec6dabc1b0e55a5bf85803a4cd4 (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.c5
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 );
+ }
}
}