unsigned data_encoding:2;
unsigned type_same_as_last:1;
unsigned interface_type_same_as_last:1;
- unsigned _pad:1;
+ unsigned ray_query:1;
unsigned num_members:16;
} u;
};
flags.u.data_encoding = var_encode_full;
}
+ flags.u.ray_query = var->data.ray_query;
+
blob_write_uint32(ctx->blob, flags.u32);
if (!flags.u.type_same_as_last) {
ctx->last_var_data = var->data;
}
+ var->data.ray_query = flags.u.ray_query;
+
var->num_state_slots = flags.u.num_state_slots;
if (var->num_state_slots != 0) {
var->state_slots = ralloc_array(var, nir_state_slot,