From: Dave Airlie Date: Tue, 10 Dec 2019 04:49:00 +0000 (+1000) Subject: tgsi/mesa: handle KERNEL case X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8d403c03fc84df3741711ed5e44b2247a39f425;p=mesa.git tgsi/mesa: handle KERNEL case Translate to compute for now. Acked-by: Roland Scheidegger --- 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");