panfrost: Avoid a XFB special case

This worked around an issue that doesn't apply to the Valhall XFB lowering.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19238>
This commit is contained in:
Alyssa Rosenzweig
2022-10-21 15:36:03 -04:00
committed by Marge Bot
parent 0955fe8fe2
commit 934f9bbae7
+1 -2
View File
@@ -139,8 +139,7 @@ collect_varyings(nir_shader *s, nir_variable_mode varying_mode,
*/
if (type == nir_type_float &&
(var->data.precision == GLSL_PRECISION_MEDIUM ||
var->data.precision == GLSL_PRECISION_LOW) &&
!s->info.has_transform_feedback_varyings) {
var->data.precision == GLSL_PRECISION_LOW)) {
type |= 16;
} else {
type |= 32;