radv: fix skipping graphics pipeline compilation when the FS is NULL
Fixes: 3eb97b9d33
("radv: skip compilation when possible with GPL fast-linking")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21192>
This commit is contained in:

committed by
Marge Bot

parent
88cadf1454
commit
7976316f3e
@@ -3478,7 +3478,7 @@ radv_skip_graphics_pipeline_compile(const struct radv_graphics_pipeline *pipelin
|
||||
|
||||
/* Do not skip when the PS epilog needs to be compiled. */
|
||||
if (!radv_pipeline_needs_dynamic_ps_epilog(pipeline) &&
|
||||
(pipeline->active_stages & VK_SHADER_STAGE_FRAGMENT_BIT) &&
|
||||
pipeline->base.shaders[MESA_SHADER_FRAGMENT] &&
|
||||
pipeline->base.shaders[MESA_SHADER_FRAGMENT]->info.ps.has_epilog &&
|
||||
!pipeline->ps_epilog)
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user