Mesa (main): intel/disasm: remove useless space after "("

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jun 7 09:05:03 UTC 2021


Module: Mesa
Branch: main
Commit: 2ebf4e984b51825c37562e0221bde327188e3eaf
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ebf4e984b51825c37562e0221bde327188e3eaf

Author: Marcin Ślusarz <marcin.slusarz at intel.com>
Date:   Fri May 28 18:05:55 2021 +0200

intel/disasm: remove useless space after "("

Signed-off-by: Marcin Ślusarz <marcin.slusarz at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11070>

---

 src/intel/compiler/brw_disasm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/intel/compiler/brw_disasm.c b/src/intel/compiler/brw_disasm.c
index e54799ba2d4..596a7554782 100644
--- a/src/intel/compiler/brw_disasm.c
+++ b/src/intel/compiler/brw_disasm.c
@@ -2045,6 +2045,7 @@ brw_disassemble_inst(FILE *file, const struct intel_device_info *devinfo,
          case GFX7_SFID_DATAPORT_DATA_CACHE:
             if (devinfo->ver >= 7) {
                format(file, " (");
+               space = 0;
 
                err |= control(file, "DP DC0 message type",
                               dp_dc0_msg_type_gfx7,
@@ -2080,6 +2081,7 @@ brw_disassemble_inst(FILE *file, const struct intel_device_info *devinfo,
          case HSW_SFID_DATAPORT_DATA_CACHE_1: {
             if (devinfo->ver >= 7) {
                format(file, " (");
+               space = 0;
 
                unsigned msg_ctrl = brw_dp_desc_msg_control(devinfo, imm_desc);
 



More information about the mesa-commit mailing list