intel/brw: Hide register pressure information in dumps
It was the default to show register pressure for each instruction, but it gets in the way of cleaner diffs before/after an optimization pass. Add INTEL_DEBUG=reg-pressure option to show it again. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29114>
This commit is contained in:
@@ -105,6 +105,7 @@ static const struct debug_control debug_control[] = {
|
||||
{ "sparse", DEBUG_SPARSE },
|
||||
{ "draw_bkp", DEBUG_DRAW_BKP },
|
||||
{ "bat-stats", DEBUG_BATCH_STATS },
|
||||
{ "reg-pressure", DEBUG_REG_PRESSURE },
|
||||
{ NULL, 0 }
|
||||
};
|
||||
|
||||
|
||||
@@ -96,6 +96,7 @@ extern uint64_t intel_debug;
|
||||
#define DEBUG_SPARSE (1ull << 48)
|
||||
#define DEBUG_DRAW_BKP (1ull << 49)
|
||||
#define DEBUG_BATCH_STATS (1ull << 50)
|
||||
#define DEBUG_REG_PRESSURE (1ull << 51)
|
||||
|
||||
#define DEBUG_ANY (~0ull)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user