if (var) {
var->data.location = FRAG_RESULT_DATA0;
var->data.index = 1;
nir_shader_gather_info(nir, nir_shader_get_entrypoint(nir));
}