From a55c7352d638a4b30268f09daa74f60772610486 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Fri, 12 Apr 2019 16:51:52 +0200 Subject: [PATCH] lima: add bool parameter to type_size function Fixes: 035759b61ba1778d5143cdf3a8795a62dd5d8a60 ("nir/i965/freedreno/vc4: add a bindless bool to type size functions") Signed-off-by: Karol Herbst Tested-by: Icenowy Zheng Reviewed-by: Eric Engestrom --- src/gallium/drivers/lima/lima_program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/lima/lima_program.c b/src/gallium/drivers/lima/lima_program.c index b524499..b7f3658 100644 --- a/src/gallium/drivers/lima/lima_program.c +++ b/src/gallium/drivers/lima/lima_program.c @@ -73,7 +73,7 @@ lima_program_get_compiler_options(enum pipe_shader_type shader) } static int -type_size(const struct glsl_type *type) +type_size(const struct glsl_type *type, bool bindless) { return glsl_count_attribute_slots(type, false); } -- 2.7.4