dlist: remove OPCODE_EXT_0

This should have been removed in bb108bdec7 ("dlist: remove ListExt feature")

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11493>
This commit is contained in:
Pierre-Eric Pelloux-Prayer 2021-06-15 12:14:22 +02:00 committed by Marge Bot
parent 2e9c8d9dc3
commit c731928cf4

View file

@ -635,8 +635,7 @@ typedef enum
OPCODE_ERROR, /* raise compiled-in error */ OPCODE_ERROR, /* raise compiled-in error */
OPCODE_CONTINUE, OPCODE_CONTINUE,
OPCODE_NOP, /* No-op (used for 8-byte alignment */ OPCODE_NOP, /* No-op (used for 8-byte alignment */
OPCODE_END_OF_LIST, OPCODE_END_OF_LIST
OPCODE_EXT_0
} OpCode; } OpCode;
@ -1535,15 +1534,13 @@ dlist_alloc(struct gl_context *ctx, OpCode opcode, GLuint bytes, bool align8)
assert(bytes <= BLOCK_SIZE * sizeof(Node)); assert(bytes <= BLOCK_SIZE * sizeof(Node));
if (opcode < OPCODE_EXT_0) { if (InstSize[opcode] == 0) {
if (InstSize[opcode] == 0) { /* save instruction size now */
/* save instruction size now */ InstSize[opcode] = numNodes;
InstSize[opcode] = numNodes; }
} else {
else { /* make sure instruction size agrees */
/* make sure instruction size agrees */ assert(numNodes == InstSize[opcode]);
assert(numNodes == InstSize[opcode]);
}
} }
if (sizeof(void *) > sizeof(Node) && align8 if (sizeof(void *) > sizeof(Node) && align8