From 035759b61ba1778d5143cdf3a8795a62dd5d8a60 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Fri, 29 Mar 2019 12:39:48 +1100 Subject: nir/i965/freedreno/vc4: add a bindless bool to type size functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This required to calculate sizes correctly when we have bindless samplers/images. Reviewed-by: Marek Olšák --- src/broadcom/compiler/vir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/broadcom') diff --git a/src/broadcom/compiler/vir.c b/src/broadcom/compiler/vir.c index 77b5ffb8619..4f83f03c7b2 100644 --- a/src/broadcom/compiler/vir.c +++ b/src/broadcom/compiler/vir.c @@ -525,7 +525,7 @@ vir_compile_init(const struct v3d_compiler *compiler, } static int -type_size_vec4(const struct glsl_type *type) +type_size_vec4(const struct glsl_type *type, bool bindless) { return glsl_count_attribute_slots(type, false); } -- cgit v1.2.3