diff options
author | Icecream95 <[email protected]> | 2020-07-16 14:12:18 +1200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-07-17 14:34:47 +0000 |
commit | 25747cea67fed6c9e1457130ff421bfac6a8c959 (patch) | |
tree | 6756f01cd63eb02e8c557f3f660d421945bc99c7 /src | |
parent | 4a8ad1e08f97503048f5bb043ff5dcf8724492c8 (diff) |
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 <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5930>
Diffstat (limited to 'src')
-rw-r--r-- | src/panfrost/util/pan_lower_framebuffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panfrost/util/pan_lower_framebuffer.c b/src/panfrost/util/pan_lower_framebuffer.c index 61968e6bcb0..08f56ce6589 100644 --- a/src/panfrost/util/pan_lower_framebuffer.c +++ b/src/panfrost/util/pan_lower_framebuffer.c @@ -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); |