i965: Print instructions' children during scheduling debugging.
authorMatt Turner <mattst88@gmail.com>
Wed, 9 Oct 2013 06:03:41 +0000 (23:03 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 17 Oct 2013 03:49:43 +0000 (20:49 -0700)
commit7d0519c0823b15a884a852f2f2884cdb95a1ab75
treed6e9a6f9e1eca1583afcf8317d6c2e9f57455df2
parent40ddd8b659db1224ce6a0fe6db786b1551ce88ee
i965: Print instructions' children during scheduling debugging.

Useful for tracking down problems in dependency calculations.

Scheduling debugging now prints:

clock    2, scheduled: linterp vgrf5, hw_reg2, hw_reg3, hw_reg0,
        child 0, 53 parents: fb_write (null), (null), (null), (null),
        child 1, 2 parents: tex vgrf4, vgrf5, (null), (null),
        child 2, 52 parents: placeholder_halt (null), (null), (null), (null),
clock    4, scheduled: linterp vgrf5+1, hw_reg2, hw_reg3, hw_reg0+16,
        child 0, 52 parents: fb_write (null), (null), (null), (null),
        child 1, 1 parents: tex vgrf4, vgrf5, (null), (null),
                now available
        child 2, 51 parents: placeholder_halt (null), (null), (null), (null),

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp