nir: Move V3D's "the shader was TGSI, ignore FS output types" flag to NIR.
[mesa.git] / src / gallium / auxiliary / nir / tgsi_to_nir.c
index 10e24387849b090cafc3b610f602223f8baa64f6..4f30714a746d51b165a72aa7cf5ae17abd1b2026 100644 (file)
@@ -1798,6 +1798,9 @@ tgsi_to_nir(const void *tgsi_tokens,
                                   options);
    s = c->build.shader;
 
+   if (s->info.stage == MESA_SHADER_FRAGMENT)
+      s->info.fs.untyped_color_outputs = true;
+
    s->num_inputs = scan.file_max[TGSI_FILE_INPUT] + 1;
    s->num_uniforms = scan.const_file_max[0] + 1;
    s->num_outputs = scan.file_max[TGSI_FILE_OUTPUT] + 1;