mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-11 05:50:14 +01:00
mesa: drop some p_compiler.h types
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Acked-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
parent
7abac7a8bf
commit
8f4dea20fc
1 changed files with 2 additions and 2 deletions
|
|
@ -1699,7 +1699,7 @@ _mesa_exec_MultiDrawArraysIndirect(GLenum mode, const GLvoid *indirect,
|
|||
"glMultiDrawArraysIndirect"))
|
||||
return;
|
||||
|
||||
const ubyte *ptr = (const ubyte *) indirect;
|
||||
const uint8_t *ptr = (const uint8_t *) indirect;
|
||||
for (unsigned i = 0; i < primcount; i++) {
|
||||
DrawArraysIndirectCommand *cmd = (DrawArraysIndirectCommand *) ptr;
|
||||
_mesa_exec_DrawArraysInstancedBaseInstance(mode, cmd->first,
|
||||
|
|
@ -1781,7 +1781,7 @@ _mesa_exec_MultiDrawElementsIndirect(GLenum mode, GLenum type,
|
|||
"glMultiDrawArraysIndirect"))
|
||||
return;
|
||||
|
||||
const ubyte *ptr = (const ubyte *) indirect;
|
||||
const uint8_t *ptr = (const uint8_t *) indirect;
|
||||
for (unsigned i = 0; i < primcount; i++) {
|
||||
_mesa_exec_DrawElementsIndirect(mode, type, ptr);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue