Module: Mesa Branch: main Commit: 6a87719d3520674b76cccad3264fbbc17fd3b546 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a87719d3520674b76cccad3264fbbc17fd3b546
Author: Alyssa Rosenzweig <[email protected]> Date: Sat Oct 15 21:38:46 2022 -0400 pan/bi: Don't lower outputs for compute Useless. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19456> --- src/panfrost/bifrost/bifrost_compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panfrost/bifrost/bifrost_compile.c b/src/panfrost/bifrost/bifrost_compile.c index edd9b4996e8..40f52e75814 100644 --- a/src/panfrost/bifrost/bifrost_compile.c +++ b/src/panfrost/bifrost/bifrost_compile.c @@ -4938,7 +4938,7 @@ bi_finalize_nir(nir_shader *nir, unsigned gpu_id, bool is_blend) NIR_PASS_V(nir, nir_lower_mediump_io, nir_var_shader_in | nir_var_shader_out, ~bi_fp32_varying_mask(nir), false); - } else { + } else if (nir->info.stage == MESA_SHADER_VERTEX) { if (gpu_id >= 0x9000) { NIR_PASS_V(nir, nir_lower_mediump_io, nir_var_shader_out, BITFIELD64_BIT(VARYING_SLOT_PSIZ), false);
