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:
5a5f3fe
)
radv/rra: Emit leaf node ids for leaf nodes instead of internal nodes
author
Konstantin Seurer
<konstantin.seurer@gmail.com>
Tue, 6 Dec 2022 15:38:10 +0000
(16:38 +0100)
committer
Marge Bot
<emma+marge@anholt.net>
Thu, 15 Dec 2022 16:00:17 +0000
(16:00 +0000)
Fixes: e4283d8 ("radv/rra: Handle box16 nodes")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20184>
src/amd/vulkan/radv_rra.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_rra.c
b/src/amd/vulkan/radv_rra.c
index
04f1006
..
fa894f7
100644
(file)
--- a/
src/amd/vulkan/radv_rra.c
+++ b/
src/amd/vulkan/radv_rra.c
@@
-659,7
+659,7
@@
rra_transcode_node(struct rra_transcoding_context *ctx, uint32_t parent_id, uint
ctx->parent_id_table[parent_id_index] = parent_id;
uint32_t dst_id = node_type | (dst_offset >> 3);
- if (is_internal_node(node_type))
+ if (
!
is_internal_node(node_type))
ctx->leaf_node_ids[ctx->leaf_index++] = dst_id;
return dst_id;