mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
nir: remove nir_variable::max_ifc_array_access
No users. Signed-off-by: Rob Clark <robclark@freedesktop.org> Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
This commit is contained in:
parent
4671c13852
commit
624ec66653
2 changed files with 0 additions and 22 deletions
|
|
@ -293,15 +293,6 @@ nir_visitor::visit(ir_variable *ir)
|
|||
var->type = ir->type;
|
||||
var->name = ralloc_strdup(var, ir->name);
|
||||
|
||||
if (ir->is_interface_instance() && ir->get_max_ifc_array_access() != NULL) {
|
||||
unsigned size = ir->get_interface_type()->length;
|
||||
var->max_ifc_array_access = ralloc_array(var, unsigned, size);
|
||||
memcpy(var->max_ifc_array_access, ir->get_max_ifc_array_access(),
|
||||
size * sizeof(unsigned));
|
||||
} else {
|
||||
var->max_ifc_array_access = NULL;
|
||||
}
|
||||
|
||||
var->data.read_only = ir->data.read_only;
|
||||
var->data.centroid = ir->data.centroid;
|
||||
var->data.sample = ir->data.sample;
|
||||
|
|
|
|||
|
|
@ -147,19 +147,6 @@ typedef struct {
|
|||
*/
|
||||
char *name;
|
||||
|
||||
/**
|
||||
* For variables which satisfy the is_interface_instance() predicate, this
|
||||
* points to an array of integers such that if the ith member of the
|
||||
* interface block is an array, max_ifc_array_access[i] is the maximum
|
||||
* array element of that member that has been accessed. If the ith member
|
||||
* of the interface block is not an array, max_ifc_array_access[i] is
|
||||
* unused.
|
||||
*
|
||||
* For variables whose type is not an interface block, this pointer is
|
||||
* NULL.
|
||||
*/
|
||||
unsigned *max_ifc_array_access;
|
||||
|
||||
struct nir_variable_data {
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue