nir/i965/freedreno/vc4: add a bindless bool to type size functions
This required to calculate sizes correctly when we have bindless samplers/images. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
committed by
Karol Herbst
parent
3b2a9ffd60
commit
035759b61b
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user