Permalink
Browse files

Temporarily disable JIT of vertex shaders for PPC

The PS3 crashes when running these shaders, probably something with
execute permission or caches.  Disable it and use the interpreter for now.
  • Loading branch information...
1 parent 6dfeb31 commit 80ec1a293d9eb158d72cfedef9976742425064db @zeldin zeldin committed with Dan Peori Jul 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gallium/auxiliary/draw/draw_vs.c
@@ -106,7 +106,7 @@ draw_create_vertex_shader(struct draw_context *draw,
if (!draw->pt.middle.llvm) {
#if defined(PIPE_ARCH_X86)
vs = draw_create_vs_sse( draw, shader );
-#elif defined(PIPE_ARCH_PPC)
+#elif defined(PIPE_ARCH_PPC) && !defined(__PPU__)
vs = draw_create_vs_ppc( draw, shader );
#endif
}

0 comments on commit 80ec1a2

Please sign in to comment.