mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 11:00:11 +01:00
r300g/swtcl: fix out-of-bounds write
This is a typo fix, the generated code should be the same.
This commit is contained in:
parent
f8f1c629d6
commit
75d0e95a3a
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ static void transform_decl(struct tgsi_transform_context *ctx,
|
|||
if (decl->Semantic.Index == 1 && !vsctx->bcolor_used[0]) {
|
||||
insert_output(ctx, decl, TGSI_SEMANTIC_BCOLOR, 0,
|
||||
TGSI_INTERPOLATE_LINEAR);
|
||||
vsctx->color_used[2] = TRUE;
|
||||
vsctx->bcolor_used[0] = TRUE;
|
||||
}
|
||||
/* One more case is handled in insert_trailing_bcolor. */
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue