projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62b8363
)
r300: Should use inst_count not 0 for R300_PVS_CNTL_3_PROGRAM_UNKNOWN_SHIFT.
author
Oliver McFadden
<z3ro.geek@gmail.com>
Wed, 20 Jun 2007 12:42:19 +0000
(12:42 +0000)
committer
Oliver McFadden
<z3ro.geek@gmail.com>
Sun, 24 Jun 2007 14:01:19 +0000
(14:01 +0000)
src/mesa/drivers/dri/r300/r300_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_state.c
b/src/mesa/drivers/dri/r300/r300_state.c
index 9d6de67bbf3ad8b2c488fb1458abf5786f4e5f1f..770b16ed453c27e54363c5d1a70f96e76327d1b2 100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_state.c
+++ b/
src/mesa/drivers/dri/r300/r300_state.c
@@
-1614,7
+1614,7
@@
static void r300SetupVertexProgram(r300ContextPtr rmesa)
(0 << R300_PVS_CNTL_2_PARAM_OFFSET_SHIFT) |
(param_count << R300_PVS_CNTL_2_PARAM_COUNT_SHIFT);
rmesa->hw.pvs.cmd[R300_PVS_CNTL_3] =
- (
0
<< R300_PVS_CNTL_3_PROGRAM_UNKNOWN_SHIFT) |
+ (
inst_count
<< R300_PVS_CNTL_3_PROGRAM_UNKNOWN_SHIFT) |
(inst_count << R300_PVS_CNTL_3_PROGRAM_UNKNOWN2_SHIFT);
}