mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
panfrost: Rename lower_store to is_blend in pan_lower_framebuffer
The bool will be used for deciding whether to do a per-sample load. Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5930>
This commit is contained in:
parent
4a8ad1e08f
commit
25747cea67
1 changed files with 2 additions and 2 deletions
|
|
@ -716,7 +716,7 @@ pan_lower_fb_load(nir_shader *shader,
|
|||
|
||||
bool
|
||||
pan_lower_framebuffer(nir_shader *shader, enum pipe_format *rt_fmts,
|
||||
bool lower_store, unsigned quirks)
|
||||
bool is_blend, unsigned quirks)
|
||||
{
|
||||
if (shader->info.stage != MESA_SHADER_FRAGMENT)
|
||||
return false;
|
||||
|
|
@ -734,7 +734,7 @@ pan_lower_framebuffer(nir_shader *shader, enum pipe_format *rt_fmts,
|
|||
bool is_load = intr->intrinsic == nir_intrinsic_load_deref;
|
||||
bool is_store = intr->intrinsic == nir_intrinsic_store_deref;
|
||||
|
||||
if (!(is_load || (is_store && lower_store)))
|
||||
if (!(is_load || (is_store && is_blend)))
|
||||
continue;
|
||||
|
||||
nir_variable *var = nir_intrinsic_get_var(intr, 0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue