summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2014-05-19 00:39:12 -0700
committerVinson Lee <[email protected]>2014-05-19 00:42:18 -0700
commit9e74de884a0595e577ebdfb7c7c13f4fd4d4dff5 (patch)
tree67c0d84c13b940e09dfb3fe974aa5e9d909917ad
parent13edd5f6160fce73369afbbf937b5e7ef646a4cc (diff)
i965: Rename brw_disasm to brw_disassemble_inst.
Fixes build error introduced with commit 4b04152db055babb8b06929a0c9ebea5c7f4fb92. CC test_eu_compact.o test_eu_compact.c: In function ‘test_compact_instruction’: test_eu_compact.c:54:3: error: implicit declaration of function ‘brw_disasm’ [-Werror=implicit-function-declaration] brw_disasm(stderr, &src, brw->gen, false); ^ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78888 Signed-off-by: Vinson Lee <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/test_eu_compact.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/test_eu_compact.c b/src/mesa/drivers/dri/i965/test_eu_compact.c
index 8713918f81f..231487d5182 100644
--- a/src/mesa/drivers/dri/i965/test_eu_compact.c
+++ b/src/mesa/drivers/dri/i965/test_eu_compact.c
@@ -51,7 +51,7 @@ test_compact_instruction(struct brw_compile *p, struct brw_instruction src)
if (memcmp(&unchanged, &dst, sizeof(dst))) {
fprintf(stderr, "Failed to compact, but dst changed\n");
fprintf(stderr, " Instruction: ");
- brw_disasm(stderr, &src, brw->gen, false);
+ brw_disassemble_inst(stderr, &src, brw->gen, false);
return false;
}
}