Lines Matching defs:old_var
1532 nir_variable *old_var = old_tail->var;
1533 if (glsl_type_is_bare_sampler(glsl_without_array(old_var->type)) &&
1534 glsl_sampler_type_is_shadow(glsl_without_array(old_var->type)) ==
1540 uint64_t var_key = ((uint64_t)old_var->data.descriptor_set << 32) |
1541 old_var->data.binding;
1544 new_var = nir_variable_clone(old_var, b->shader);
1547 get_bare_samplers_for_type(old_var->type, tex->is_shadow);
1613 nir_variable *old_var = old_tail->var;
1614 if (glsl_type_is_texture(glsl_without_array(old_var->type)) ||
1615 glsl_type_is_image(glsl_without_array(old_var->type))) {
1620 uint64_t var_key = ((uint64_t)old_var->data.descriptor_set << 32) |
1621 old_var->data.binding;
1624 new_var = nir_variable_clone(old_var, b->shader);
1625 new_var->type = get_textures_for_sampler_type(old_var->type);