mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
lavapipe: don't double-inline ubo0
this was already handled above and causes negative indexing cc: mesa-stable Reviewed-by: Brian Paul <brianp@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22363>
This commit is contained in:
parent
7582752233
commit
9f5bb8992f
1 changed files with 3 additions and 0 deletions
|
|
@ -319,6 +319,9 @@ update_inline_shader_state(struct rendering_state *state, enum pipe_shader_type
|
|||
if (constbuf_dirty) {
|
||||
struct pipe_box box = {0};
|
||||
u_foreach_bit(slot, shader->inlines.can_inline) {
|
||||
/* this is already inlined above */
|
||||
if (slot == 0)
|
||||
continue;
|
||||
unsigned count = shader->inlines.count[slot];
|
||||
struct pipe_constant_buffer *cbuf = &state->const_buffer[sh][slot - 1];
|
||||
struct pipe_resource *pres = cbuf->buffer;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue