Mesa (master): lima: add bool parameter to type_size function

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Apr 12 15:25:38 UTC 2019


Module: Mesa
Branch: master
Commit: a55c7352d638a4b30268f09daa74f60772610486
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a55c7352d638a4b30268f09daa74f60772610486

Author: Karol Herbst <kherbst at redhat.com>
Date:   Fri Apr 12 16:51:52 2019 +0200

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 <kherbst at redhat.com>
Tested-by: Icenowy Zheng <icenowy at aosc.io>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>

---

 src/gallium/drivers/lima/lima_program.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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




More information about the mesa-commit mailing list