From 8bb46de08b310b902f49795be45608293e21255e Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Thu, 29 Nov 2018 15:21:12 +0100 Subject: mesa: add MESA_SHADER_KERNEL used for CL kernels Signed-off-by: Karol Herbst Reviewed-by: Jason Ekstrand Reviewed-by: Bas Nieuwenhuizen --- src/freedreno/ir3/ir3_compiler_nir.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/freedreno/ir3') diff --git a/src/freedreno/ir3/ir3_compiler_nir.c b/src/freedreno/ir3/ir3_compiler_nir.c index 167d6ae7836..fd641735620 100644 --- a/src/freedreno/ir3/ir3_compiler_nir.c +++ b/src/freedreno/ir3/ir3_compiler_nir.c @@ -2831,6 +2831,7 @@ static const unsigned max_sysvals[] = { [MESA_SHADER_FRAGMENT] = 24, // TODO [MESA_SHADER_VERTEX] = 16, [MESA_SHADER_COMPUTE] = 16, // TODO how many do we actually need? + [MESA_SHADER_KERNEL] = 16, // TODO how many do we actually need? }; static void -- cgit v1.2.3