asahi: Only apply FS lowerings to fragment shaders

Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21104>
This commit is contained in:
Asahi Lina 2023-01-14 18:22:38 +09:00 committed by Marge Bot
parent 2adea481f1
commit 99a6afd1a6

View file

@ -1374,7 +1374,7 @@ agx_compile_variant(struct agx_device *dev, struct agx_uncompiled_shader *so,
struct asahi_vs_shader_key *key = &key_->vs;
NIR_PASS_V(nir, agx_nir_lower_vbo, &key->vbuf);
} else {
} else if (nir->info.stage == MESA_SHADER_FRAGMENT) {
struct asahi_fs_shader_key *key = &key_->fs;
struct agx_tilebuffer_layout tib =