aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/lima
diff options
context:
space:
mode:
authorKarol Herbst <[email protected]>2019-04-12 16:51:52 +0200
committerKarol Herbst <[email protected]>2019-04-12 17:08:53 +0200
commita55c7352d638a4b30268f09daa74f60772610486 (patch)
tree568559467dc66e87a362b6ba0ba4ef104c9aa82e /src/gallium/drivers/lima
parent98934e6aa19795072a353dae6020dafadc76a1e3 (diff)
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 <[email protected]> Tested-by: Icenowy Zheng <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima')
-rw-r--r--src/gallium/drivers/lima/lima_program.c2
1 files changed, 1 insertions, 1 deletions
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);
}