radv: remove dead code in radv_pipeline_get_nir()
We either import the NIR or the assembly, so this was never reached. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22264>
This commit is contained in:

committed by
Marge Bot

parent
a9529d9644
commit
47c0820dc7
@@ -2765,10 +2765,6 @@ radv_pipeline_get_nir(struct radv_device *device, struct radv_graphics_pipeline
|
||||
if (!stages[s].entrypoint)
|
||||
continue;
|
||||
|
||||
/* Do not try to get the NIR when we already have the assembly. */
|
||||
if (pipeline->base.shaders[s])
|
||||
continue;
|
||||
|
||||
int64_t stage_start = os_time_get_nano();
|
||||
|
||||
assert(retain_shaders || pipeline->base.shaders[s] == NULL);
|
||||
|
Reference in New Issue
Block a user