mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
program: Delete dead _mesa_realloc_instructions.
Dead since 2010 (commit 284ce209).
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
811a1836c8
commit
2a0bef91ca
2 changed files with 0 additions and 21 deletions
|
|
@ -74,23 +74,6 @@ _mesa_alloc_instructions(GLuint numInst)
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* Reallocate memory storing an array of program instructions.
|
||||
* This is used when we need to append additional instructions onto an
|
||||
* program.
|
||||
* \param oldInst pointer to first of old/src instructions
|
||||
* \param numOldInst number of instructions at <oldInst>
|
||||
* \param numNewInst desired size of new instruction array.
|
||||
* \return pointer to start of new instruction array.
|
||||
*/
|
||||
struct prog_instruction *
|
||||
_mesa_realloc_instructions(struct prog_instruction *oldInst,
|
||||
GLuint numOldInst, GLuint numNewInst)
|
||||
{
|
||||
return realloc(oldInst, numNewInst * sizeof(struct prog_instruction));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Copy an array of program instructions.
|
||||
* \param dest pointer to destination.
|
||||
|
|
|
|||
|
|
@ -384,10 +384,6 @@ _mesa_init_instructions(struct prog_instruction *inst, GLuint count);
|
|||
extern struct prog_instruction *
|
||||
_mesa_alloc_instructions(GLuint numInst);
|
||||
|
||||
extern struct prog_instruction *
|
||||
_mesa_realloc_instructions(struct prog_instruction *oldInst,
|
||||
GLuint numOldInst, GLuint numNewInst);
|
||||
|
||||
extern struct prog_instruction *
|
||||
_mesa_copy_instructions(struct prog_instruction *dest,
|
||||
const struct prog_instruction *src, GLuint n);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue