lima: add bool parameter to type_size function

Fixes: 035759b61b
       ("nir/i965/freedreno/vc4: add a bindless bool to type size functions")

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Tested-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
Karol Herbst 2019-04-12 16:51:52 +02:00
parent 98934e6aa1
commit a55c7352d6

View file

@ -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);
}