From: Karol Herbst Date: Fri, 12 Apr 2019 14:51:52 +0000 (+0200) Subject: lima: add bool parameter to type_size function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a55c7352d638a4b30268f09daa74f60772610486;p=mesa.git 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 --- diff --git a/src/gallium/drivers/lima/lima_program.c b/src/gallium/drivers/lima/lima_program.c index b524499dde9..b7f3658d521 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); }