lima: add bool parameter to type_size function
authorKarol Herbst <kherbst@redhat.com>
Fri, 12 Apr 2019 14:51:52 +0000 (16:51 +0200)
committerKarol Herbst <kherbst@redhat.com>
Fri, 12 Apr 2019 15:08:53 +0000 (17:08 +0200)
Fixes: 035759b61ba1778d5143cdf3a8795a62dd5d8a60
       ("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>
src/gallium/drivers/lima/lima_program.c

index b524499..b7f3658 100644 (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);
 }