diff options
author | Marek Olšák <[email protected]> | 2010-07-09 03:48:43 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-07-09 03:53:47 +0200 |
commit | 75d0e95a3ad188ae1c4cc38a73241c6b227c0733 (patch) | |
tree | c2ddfeed60a12f9cbc3e7d492f2d48768efc24c5 /src/gallium/drivers | |
parent | f8f1c629d6b2f86e65c5c0997b140cf8db8f616e (diff) |
r300g/swtcl: fix out-of-bounds write
This is a typo fix, the generated code should be the same.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/r300/r300_vs_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_vs_draw.c b/src/gallium/drivers/r300/r300_vs_draw.c index d64040b8911..2939963c355 100644 --- a/src/gallium/drivers/r300/r300_vs_draw.c +++ b/src/gallium/drivers/r300/r300_vs_draw.c @@ -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; |