projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7579f2
)
r300g: set the correct value in PVS_NUM_CNTLRS
author
Marek Olšák
<maraeo@gmail.com>
Sat, 28 Aug 2010 05:51:55 +0000
(07:51 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Sat, 28 Aug 2010 16:17:30 +0000
(18:17 +0200)
As per docs.
src/gallium/drivers/r300/r300_emit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_emit.c
b/src/gallium/drivers/r300/r300_emit.c
index 58d7e4ffe9362a45ea1a3b36412b33a9c190e626..232259e21d17b06070f8130f33fb0c67dd9301ad 100644
(file)
--- a/
src/gallium/drivers/r300/r300_emit.c
+++ b/
src/gallium/drivers/r300/r300_emit.c
@@
-909,7
+909,7
@@
void r300_emit_vs_state(struct r300_context* r300, unsigned size, void* state)
unsigned pvs_num_slots = MIN3(vtx_mem_size / input_count,
vtx_mem_size / output_count, 10);
- unsigned pvs_num_controllers = MIN2(vtx_mem_size / temp_count,
6
);
+ unsigned pvs_num_controllers = MIN2(vtx_mem_size / temp_count,
5
);
unsigned imm_first = vs->externals_count;
unsigned imm_end = vs->code.constants.Count;