mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
panvk/csf: explicitly set ls_sb_slot in set_fbds_provoking_vertex
SB_ID(LS) is currently equal to zero, so this is not a behavior change, but worth setting it explicitly for clarity and in case the sb assignments change. Signed-off-by: Olivia Lee <olivia.lee@collabora.com> Fixes:885805560f("panvk/csf: fix case where vk_meta is used before PROVOKING_VERTEX_MODE_LAST") Reviewed-by: Eric R. Smith <eric.smith@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> (cherry picked from commitebbf05f9d2) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38803>
This commit is contained in:
parent
9fbbbc994b
commit
1d97f7da0c
2 changed files with 2 additions and 1 deletions
|
|
@ -1104,7 +1104,7 @@
|
|||
"description": "panvk/csf: explicitly set ls_sb_slot in set_fbds_provoking_vertex",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "885805560f97c0b777d47db550ba51234b603a50",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ generate_fn_set_fbds_provoking_vertex(struct panvk_device *dev,
|
|||
.nr_registers = csif_info->cs_reg_count,
|
||||
.nr_kernel_registers = MAX2(csif_info->unpreserved_cs_reg_count, 4),
|
||||
.reg_perm = provoking_vertex_fn_reg_perm_cb,
|
||||
.ls_sb_slot = SB_ID(LS),
|
||||
};
|
||||
cs_builder_init(&b, &conf, fn_mem);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue