mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-25 00:09:54 +00:00
nvc0: fix emission of first 3 u8 indices to RING_NI
This commit is contained in:
parent
f5f086ca92
commit
64b639959f
@ -361,7 +361,7 @@ nvc0_draw_elements_inline_u08(struct nouveau_channel *chan, uint8_t *map,
|
||||
|
||||
if (count & 3) {
|
||||
unsigned i;
|
||||
BEGIN_RING(chan, RING_3D(VB_ELEMENT_U32), count & 3);
|
||||
BEGIN_RING_NI(chan, RING_3D(VB_ELEMENT_U32), count & 3);
|
||||
for (i = 0; i < (count & 3); ++i)
|
||||
OUT_RING(chan, *map++);
|
||||
count &= ~3;
|
||||
|
Loading…
Reference in New Issue
Block a user