intel: Only validate inst compaction if debugging a shader stage
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26791>
This commit is contained in:
@@ -2523,7 +2523,9 @@ brw_compact_instructions(struct brw_codegen *p, int start_offset,
|
||||
if (try_compact_instruction(&c, dst, &inst)) {
|
||||
compacted_count++;
|
||||
|
||||
if (INTEL_DEBUG(DEBUG_ANY)) {
|
||||
if (INTEL_DEBUG(DEBUG_VS | DEBUG_GS | DEBUG_TCS | DEBUG_TASK |
|
||||
DEBUG_WM | DEBUG_CS | DEBUG_TES | DEBUG_MESH |
|
||||
DEBUG_RT)) {
|
||||
brw_inst uncompacted;
|
||||
uncompact_instruction(&c, &uncompacted, dst);
|
||||
if (memcmp(&saved, &uncompacted, sizeof(uncompacted))) {
|
||||
|
Reference in New Issue
Block a user