anv: drop redundant unlikely's around INTEL_DEBUG
They are not needed since 4015e1876a
.
Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13115>
This commit is contained in:
parent
6229d40fbf
commit
1d1cd2ee77
|
@ -4703,7 +4703,7 @@ anv_add_pending_pipe_bits(struct anv_cmd_buffer* cmd_buffer,
|
|||
const char* reason)
|
||||
{
|
||||
cmd_buffer->state.pending_pipe_bits |= bits;
|
||||
if (unlikely(INTEL_DEBUG & DEBUG_PIPE_CONTROL) && bits)
|
||||
if ((INTEL_DEBUG & DEBUG_PIPE_CONTROL) && bits)
|
||||
{
|
||||
fputs("pc: add ", stderr);
|
||||
anv_dump_pipe_bits(bits);
|
||||
|
|
|
@ -72,7 +72,7 @@ convert_pc_to_bits(struct GENX(PIPE_CONTROL) *pc) {
|
|||
}
|
||||
|
||||
#define anv_debug_dump_pc(pc) \
|
||||
if (unlikely(INTEL_DEBUG & DEBUG_PIPE_CONTROL)) { \
|
||||
if (INTEL_DEBUG & DEBUG_PIPE_CONTROL) { \
|
||||
fputs("pc: emit PC=( ", stderr); \
|
||||
anv_dump_pipe_bits(convert_pc_to_bits(&(pc))); \
|
||||
fprintf(stderr, ") reason: %s\n", __FUNCTION__); \
|
||||
|
|
Loading…
Reference in New Issue