zink: stringify unsupported prim restart log error

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22760>
(cherry picked from commit 95df5f2e8c)
This commit is contained in:
Mike Blumenkrantz 2023-04-28 09:55:13 -04:00 committed by Dylan Baker
parent c2435ea929
commit 4c3dd94cd1
2 changed files with 2 additions and 2 deletions

View File

@ -4624,7 +4624,7 @@
"description": "zink: stringify unsupported prim restart log error",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View File

@ -87,7 +87,7 @@ zink_create_gfx_pipeline(struct zink_screen *screen,
FALLTHROUGH;
case VK_PRIMITIVE_TOPOLOGY_PATCH_LIST:
if (state->dyn_state2.primitive_restart)
mesa_loge("zink: restart_index set with unsupported primitive topology %u\n", primitive_topology);
mesa_loge("zink: restart_index set with unsupported primitive topology %s\n", vk_PrimitiveTopology_to_str(primitive_topology));
primitive_state.primitiveRestartEnable = VK_FALSE;
break;
default: