asahi: Call nir_lower_fragcolor
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10720>
This commit is contained in:
parent
d76ab2b5d6
commit
bedf1019be
|
@ -644,6 +644,9 @@ agx_update_shader(struct agx_context *ctx, struct agx_compiled_shader **out,
|
|||
NIR_PASS_V(nir, nir_lower_blend, opts);
|
||||
}
|
||||
|
||||
if (stage == PIPE_SHADER_FRAGMENT)
|
||||
NIR_PASS_V(nir, nir_lower_fragcolor, key->nr_cbufs);
|
||||
|
||||
agx_compile_shader_nir(nir, &key->base, &binary, &compiled->info);
|
||||
|
||||
/* TODO: emit this properly */
|
||||
|
|
Loading…
Reference in New Issue