zink: add debug info about missing atomic ops

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9624>
This commit is contained in:
Mike Blumenkrantz 2020-12-04 12:13:32 -05:00 committed by Marge Bot
parent 5783298027
commit 90a1aaf956
1 changed files with 1 additions and 0 deletions

View File

@ -199,6 +199,7 @@ get_atomic_op(nir_intrinsic_op op)
CASE_ATOMIC_OP(comp_swap):
return SpvOpAtomicCompareExchange;
default:
debug_printf("%s - ", nir_intrinsic_infos[op].name);
unreachable("unhandled atomic op");
}
return 0;