v3dv: fix shader stage name in error message
authorEric Engestrom <eric@igalia.com>
Sat, 19 Aug 2023 01:46:25 +0000 (02:46 +0100)
committerMarge Bot <emma+marge@anholt.net>
Sun, 20 Aug 2023 04:58:17 +0000 (04:58 +0000)
Fixes: 60145629a2bdcd4e7835 ("v3dv: initial CreateGraphicsPipeline/DestroyPipeline implementation")
Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24787>

src/broadcom/vulkan/v3dv_pipeline.c

index 86c8264..b742ccd 100644 (file)
@@ -1664,7 +1664,7 @@ pipeline_compile_shader_variant(struct v3dv_pipeline_stage *p_stage,
 
    if (!qpu_insts) {
       fprintf(stderr, "Failed to compile %s prog %d NIR to VIR\n",
-              gl_shader_stage_name(p_stage->stage),
+              broadcom_shader_stage_name(p_stage->stage),
               p_stage->program_id);
       *out_vk_result = VK_ERROR_UNKNOWN;
    } else {