mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 20:10:17 +01:00
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:
parent
2adea481f1
commit
99a6afd1a6
1 changed files with 1 additions and 1 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue