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:
ca520c4
)
radv: simplify getting next VS stage for VS prologs
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Thu, 20 Jul 2023 15:11:50 +0000
(17:11 +0200)
committer
Marge Bot
<emma+marge@anholt.net>
Tue, 25 Jul 2023 06:31:08 +0000
(06:31 +0000)
It's the VS shader info stage.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24273>
src/amd/vulkan/radv_cmd_buffer.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_cmd_buffer.c
b/src/amd/vulkan/radv_cmd_buffer.c
index
349554e
..
b080f3c
100644
(file)
--- a/
src/amd/vulkan/radv_cmd_buffer.c
+++ b/
src/amd/vulkan/radv_cmd_buffer.c
@@
-3768,7
+3768,7
@@
lookup_vs_prolog(struct radv_cmd_buffer *cmd_buffer, const struct radv_shader *v
key.as_ls = vs_shader->info.vs.as_ls && instance_rate_inputs;
key.is_ngg = vs_shader->info.is_ngg;
key.wave32 = vs_shader->info.wave_size == 32;
- key.next_stage =
ffs(cmd_buffer->state.active_stages) - 1
;
+ key.next_stage =
vs_shader->info.stage
;
union vs_prolog_key_header header;
header.v = 0;