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
@@ -3015,7 +3015,7 @@ void nir_lower_io_to_temporaries(nir_shader *shader,
|
||||
void nir_shader_gather_info(nir_shader *shader, nir_function_impl *entrypoint);
|
||||
|
||||
void nir_assign_var_locations(struct exec_list *var_list, unsigned *size,
|
||||
int (*type_size)(const struct glsl_type *));
|
||||
int (*type_size)(const struct glsl_type *, bool));
|
||||
|
||||
/* Some helpers to do very simple linking */
|
||||
bool nir_remove_unused_varyings(nir_shader *producer, nir_shader *consumer);
|
||||
@@ -3036,7 +3036,7 @@ typedef enum {
|
||||
} nir_lower_io_options;
|
||||
bool nir_lower_io(nir_shader *shader,
|
||||
nir_variable_mode modes,
|
||||
int (*type_size)(const struct glsl_type *),
|
||||
int (*type_size)(const struct glsl_type *, bool),
|
||||
nir_lower_io_options);
|
||||
|
||||
typedef enum {
|
||||
|
Reference in New Issue
Block a user