mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
pan/bi: Enable mediump BLEND lowering
Other lowerings will wait until we iron out various missing features. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9239>
This commit is contained in:
parent
d3ba26be37
commit
793d18b79b
1 changed files with 6 additions and 0 deletions
|
|
@ -3151,6 +3151,12 @@ bifrost_compile_shader_nir(nir_shader *nir,
|
|||
NIR_PASS_V(nir, nir_lower_vars_to_ssa);
|
||||
NIR_PASS_V(nir, nir_lower_io, nir_var_shader_in | nir_var_shader_out,
|
||||
glsl_type_size, 0);
|
||||
|
||||
if (ctx->stage == MESA_SHADER_FRAGMENT) {
|
||||
NIR_PASS_V(nir, nir_lower_mediump_io, nir_var_shader_out,
|
||||
~0, false);
|
||||
}
|
||||
|
||||
NIR_PASS_V(nir, nir_lower_ssbo);
|
||||
NIR_PASS_V(nir, pan_nir_lower_zs_store);
|
||||
NIR_PASS_V(nir, pan_lower_sample_pos);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue