projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8f1c62
)
r300g/swtcl: fix out-of-bounds write
author
Marek Olšák
<maraeo@gmail.com>
Fri, 9 Jul 2010 01:48:43 +0000
(
03:48
+0200)
committer
Marek Olšák
<maraeo@gmail.com>
Fri, 9 Jul 2010 01:53:47 +0000
(
03:53
+0200)
This is a typo fix, the generated code should be the same.
src/gallium/drivers/r300/r300_vs_draw.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_vs_draw.c
b/src/gallium/drivers/r300/r300_vs_draw.c
index
d64040b
..
2939963
100644
(file)
--- 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;