projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added few more stubs so that control reaches to DestroyDevice().
[mesa.git]
/
src
/
mesa
/
program
/
prog_instruction.c
diff --git
a/src/mesa/program/prog_instruction.c
b/src/mesa/program/prog_instruction.c
index 9f03867f0b01623a2b104fda17ba05ca333b7d0b..3bbb23a41fc2961b88771ef63a776ee1a0254058 100644
(file)
--- a/
src/mesa/program/prog_instruction.c
+++ b/
src/mesa/program/prog_instruction.c
@@
-24,10
+24,12
@@
*/
*/
+#include <stdio.h>
+#include <assert.h>
+
#include "main/glheader.h"
#include "main/glheader.h"
-#include "main/imports.h"
-#include "main/mtypes.h"
#include "prog_instruction.h"
#include "prog_instruction.h"
+#include "prog_parameter.h"
/**
/**
@@
-250,7
+252,7
@@
_mesa_opcode_string(enum prog_opcode opcode)
return InstInfo[opcode].Name;
else {
static char s[20];
return InstInfo[opcode].Name;
else {
static char s[20];
-
_mesa_
snprintf(s, sizeof(s), "OP%u", opcode);
+ snprintf(s, sizeof(s), "OP%u", opcode);
return s;
}
}
return s;
}
}