projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9529d9
)
radv: remove dead code in radv_pipeline_get_nir()
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Mon, 3 Apr 2023 08:46:03 +0000
(10:46 +0200)
committer
Marge Bot
<emma+marge@anholt.net>
Tue, 4 Apr 2023 14:47:39 +0000
(14:47 +0000)
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>
src/amd/vulkan/radv_pipeline.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_pipeline.c
b/src/amd/vulkan/radv_pipeline.c
index
a75c9f2
..
81126c8
100644
(file)
--- a/
src/amd/vulkan/radv_pipeline.c
+++ b/
src/amd/vulkan/radv_pipeline.c
@@
-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);