mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
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:
parent
98934e6aa1
commit
a55c7352d6
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue