gallium/postprocessing: convert blits to pipe->blit
[mesa.git] / src / gallium / auxiliary / indices / u_indices_gen.py
index 40b047bb585f214c5eb2bfbd9a8e0d1807a9e345..af63d099302a411049fb35e455069a4c7a606a41 100644 (file)
@@ -72,7 +72,7 @@ def prolog():
 #include "indices/u_indices.h"
 #include "indices/u_indices_priv.h"
 #include "pipe/p_compiler.h"
-#include "pipe/p_debug.h"
+#include "util/u_debug.h"
 #include "pipe/p_defines.h"
 #include "util/u_memory.h"
 
@@ -157,7 +157,7 @@ def preamble(intype, outtype, inpv, outpv, prim):
     print '    void *_out )'
     print '{'
     if intype != GENERATE:
-        print '  const ' + intype + '*in = (const ' + intype + '*)in;'
+        print '  const ' + intype + '*in = (const ' + intype + '*)_in;'
     print '  ' + outtype + ' *out = (' + outtype + '*)_out;'
     print '  unsigned i, j;'
     print '  (void)j;'