this probably means all outputs were eliminated by the linker,
but in any case it's not going to do anything
fixes spec@glsl-1.50@execution@interface-blocks-api-access-members
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22725>
if (!nir->info.internal)
nir_foreach_shader_out_variable(var, nir)
var->data.explicit_xfb_buffer = 0;
- if (so_info && so_info->num_outputs)
+ if (so_info && so_info->num_outputs && nir->info.outputs_written)
update_so_info(ret, nir, so_info, nir->info.outputs_written, have_psiz);
else if (have_psiz) {
bool have_fake_psiz = false;