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:
3ce2b71
)
radv: Fix missing wait of GS copy shader upload for dmashaders.
author
Tatsuyuki Ishi
<ishitatsuyuki@gmail.com>
Fri, 17 Mar 2023 14:02:50 +0000
(23:02 +0900)
committer
Marge Bot
<emma+marge@anholt.net>
Sat, 18 Mar 2023 03:04:15 +0000
(
03:04
+0000)
Fixes:
0cde42a506f
("radv: Wait for shader uploads asynchronously.")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21985>
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
97f9eff
..
b60fa74
100644
(file)
--- a/
src/amd/vulkan/radv_pipeline.c
+++ b/
src/amd/vulkan/radv_pipeline.c
@@
-5005,6
+5005,11
@@
radv_graphics_pipeline_init(struct radv_graphics_pipeline *pipeline, struct radv
}
}
+ if (pipeline->base.gs_copy_shader) {
+ pipeline->base.shader_upload_seq = MAX2(pipeline->base.shader_upload_seq,
+ pipeline->base.gs_copy_shader->upload_seq);
+ }
+
if (extra) {
radv_pipeline_init_extra(pipeline, extra, &blend, &state, &vgt_gs_out_prim_type);
}