diff options
author | Marek Olšák <[email protected]> | 2010-04-27 11:42:08 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-04-27 12:25:22 +0200 |
commit | 847a24c011fda1fa21995a3e54848f15e75dccc9 (patch) | |
tree | d3429f52a7a272c2db3271bdf3eb1648acc468eb /src/gallium/drivers/r300/r300_emit.c | |
parent | 35d52a062621d1a81b39f465004526e2f597825b (diff) |
r300g: compensate for non-atomized emit_query_end in the CS
And reserve a little more space just in case.
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_emit.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index 663a7715d95..0353b90c797 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -1165,6 +1165,11 @@ unsigned r300_get_num_dirty_dwords(struct r300_context *r300) } } + /* emit_query_end is not atomized. */ + dwords += 26; + /* let's reserve some more, just in case */ + dwords += 32; + return dwords; } |