Skip to content
Snippets Groups Projects
Commit b20bccbc authored by Ilia Mirkin's avatar Ilia Mirkin
Browse files

nv50,nvc0: fix push hint logic in presence of a start offset


Previously buffer offsets were passed in explicitly as an offset, which
had to be added to the resource address. Now they are passed in via an
increased 'start' parameter. As a result, we were double-adding the
start offset in this kind of situation.

This condition was triggered by piglit's draw-elements test which has a
requisite glMultiDrawElements in combination with a small enough number
of vertices to go through the immediate push path.

Fixes: 330d0607 ("gallium: remove pipe_index_buffer and set_index_buffer")
Reported-by: default avatarKarol Herbst <karolherbst@gmail.com>
Reviewed-by: default avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
Cc: mesa-stable@lists.freedesktop.org
parent 735711ab
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment