From b8d403c03fc84df3741711ed5e44b2247a39f425 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 10 Dec 2019 14:49:00 +1000 Subject: [PATCH] tgsi/mesa: handle KERNEL case Translate to compute for now. Acked-by: Roland Scheidegger --- src/gallium/auxiliary/tgsi/tgsi_from_mesa.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/auxiliary/tgsi/tgsi_from_mesa.h b/src/gallium/auxiliary/tgsi/tgsi_from_mesa.h index b4d540baabc..c23e6189bd5 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_from_mesa.h +++ b/src/gallium/auxiliary/tgsi/tgsi_from_mesa.h @@ -62,6 +62,7 @@ pipe_shader_type_from_mesa(gl_shader_stage stage) case MESA_SHADER_FRAGMENT: return PIPE_SHADER_FRAGMENT; case MESA_SHADER_COMPUTE: + case MESA_SHADER_KERNEL: return PIPE_SHADER_COMPUTE; default: unreachable("bad shader stage"); -- 2.30.2