mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
nvk: Don't set CONSTANT_BUFFER_SELECTOR with a zero size
Kepler complains about this and it's unnecessary since we set
ENABLE_FALSE whenever we have a zero size anyway.
Fixes: 55413e33dc ("nvk: Disable all cbufs in nvk_queue_init_context_draw_state()")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27565>
This commit is contained in:
parent
28ad2f488a
commit
83521dd486
1 changed files with 0 additions and 5 deletions
|
|
@ -383,11 +383,6 @@ nvk_push_draw_state_init(struct nvk_device *dev, struct nv_push *p)
|
|||
});
|
||||
}
|
||||
|
||||
P_MTHD(p, NV9097, SET_CONSTANT_BUFFER_SELECTOR_A);
|
||||
P_NV9097_SET_CONSTANT_BUFFER_SELECTOR_A(p, 0);
|
||||
P_NV9097_SET_CONSTANT_BUFFER_SELECTOR_B(p, 0);
|
||||
P_NV9097_SET_CONSTANT_BUFFER_SELECTOR_C(p, 0);
|
||||
|
||||
for (uint32_t group = 0; group < 5; group++) {
|
||||
for (uint32_t slot = 0; slot < 16; slot++) {
|
||||
P_IMMD(p, NV9097, BIND_GROUP_CONSTANT_BUFFER(group), {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue