mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-25 02:40:46 +02:00
radv/rra: Emit leaf node ids for leaf nodes instead of internal nodes
Fixes: e4283d8 ("radv/rra: Handle box16 nodes")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20184>
This commit is contained in:
parent
5a5f3fe561
commit
ab8777b384
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue