summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965/brw_winsys_debug.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2010-12-31 12:24:35 +1000
committerDave Airlie <airlied@gmail.com>2011-01-09 17:21:10 +1000
commit3ee8d13c0049e6a9490054ea46963bb6f9f18905 (patch)
tree94b267c11689f3b086dd825b034b657581b7840d /src/gallium/drivers/i965/brw_winsys_debug.c
parent9562284114eee8b98b46ac7126f6af83df385c7c (diff)
i965g: update disassembler code from classic.
still a bit of work to do, the winsys gen setting is a bit of a hack.
Diffstat (limited to 'src/gallium/drivers/i965/brw_winsys_debug.c')
-rw-r--r--src/gallium/drivers/i965/brw_winsys_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/i965/brw_winsys_debug.c b/src/gallium/drivers/i965/brw_winsys_debug.c
index f8f6a539bc..b7888b9b4d 100644
--- a/src/gallium/drivers/i965/brw_winsys_debug.c
+++ b/src/gallium/drivers/i965/brw_winsys_debug.c
@@ -9,7 +9,7 @@ void brw_dump_data( unsigned pci_id,
enum brw_buffer_data_type data_type,
unsigned offset,
const void *data,
- size_t size )
+ size_t size, int gen )
{
if (BRW_DUMP & DUMP_ASM) {
switch (data_type) {
@@ -18,7 +18,7 @@ void brw_dump_data( unsigned pci_id,
case BRW_DATA_GS_VS_PROG:
case BRW_DATA_GS_GS_PROG:
case BRW_DATA_GS_CLIP_PROG:
- brw_disasm( stderr, data, size / sizeof(struct brw_instruction) );
+ brw_disasm( stderr, data, size / sizeof(struct brw_instruction), gen );
break;
default:
break;