mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-18 04:40:26 +01:00
libagx: drop dead code
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32081>
This commit is contained in:
parent
d00a504cb0
commit
c54fdde1a4
1 changed files with 2 additions and 9 deletions
|
|
@ -329,15 +329,8 @@ static void
|
|||
DefineIndex(private struct CHWTessellator *ctx, int index,
|
||||
int indexStorageOffset)
|
||||
{
|
||||
int patched = PatchIndexValue(ctx, index);
|
||||
|
||||
if (ctx->mode == LIBAGX_TESS_MODE_WITH_COUNTS) {
|
||||
global uint32_t *indices = (global uint32_t *)ctx->Index;
|
||||
indices[indexStorageOffset] = ctx->index_bias + patched;
|
||||
} else {
|
||||
global uint16_t *indices = (global uint16_t *)ctx->Index;
|
||||
indices[indexStorageOffset] = patched;
|
||||
}
|
||||
global uint32_t *indices = (global uint32_t *)ctx->Index;
|
||||
indices[indexStorageOffset] = ctx->index_bias + PatchIndexValue(ctx, index);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue