Module: Mesa
Branch: main
Commit: ea5c8932891cb19cf869e2db346da9df2f219f71
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea5c8932891cb19cf869e2db346da9df2f219f71

Author: Samuel Pitoiset <[email protected]>
Date:   Mon Feb  6 16:25:15 2023 +0100

radv: regroup PS epilog info when generating the graphics pipeline key

No logical change.

Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21140>

---

 src/amd/vulkan/radv_pipeline.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c
index baa61b0e10b..f1d39ea4107 100644
--- a/src/amd/vulkan/radv_pipeline.c
+++ b/src/amd/vulkan/radv_pipeline.c
@@ -2373,8 +2373,6 @@ radv_generate_graphics_pipeline_key(const struct 
radv_graphics_pipeline *pipelin
       }
    }
 
-   key.ps.epilog = radv_pipeline_generate_ps_epilog_key(pipeline, state, 
pipeline->ps_epilog);
-
    if (device->physical_device->rad_info.gfx_level >= GFX11 && state->ms) {
       key.ps.alpha_to_coverage_via_mrtz = state->ms->alpha_to_coverage_enable;
    }
@@ -2423,6 +2421,8 @@ radv_generate_graphics_pipeline_key(const struct 
radv_graphics_pipeline *pipelin
        !(lib_flags & 
VK_GRAPHICS_PIPELINE_LIBRARY_FRAGMENT_OUTPUT_INTERFACE_BIT_EXT)) ||
        key.ps.dynamic_ps_epilog);
 
+   key.ps.epilog = radv_pipeline_generate_ps_epilog_key(pipeline, state, 
pipeline->ps_epilog);
+
    key.dynamic_patch_control_points =
       !!(pipeline->dynamic_states & RADV_DYNAMIC_PATCH_CONTROL_POINTS);
 

Reply via email to