Mesa (master): tgsi/mesa: handle KERNEL case

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Dec 27 03:43:16 UTC 2019


Module: Mesa
Branch: master
Commit: b8d403c03fc84df3741711ed5e44b2247a39f425
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b8d403c03fc84df3741711ed5e44b2247a39f425

Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Dec 10 14:49:00 2019 +1000

tgsi/mesa: handle KERNEL case

Translate to compute for now.

Acked-by: Roland Scheidegger <sroland at vmware.com>

---

 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");




More information about the mesa-commit mailing list