r300g: fix CS checker errors caused by emit_dsa_state

size is 10 on r500 and 8 on r300
This commit is contained in:
Marek Olšák 2013-01-09 11:34:33 +01:00
parent 959e83d650
commit 4f2d9a8f52
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ void r300_emit_dsa_state(struct r300_context* r300, unsigned size, void* state)
BEGIN_CS(size);
OUT_CS_REG(R300_FG_ALPHA_FUNC, alpha_func);
OUT_CS_TABLE(fb->zsbuf ? &dsa->cb_begin : dsa->cb_zb_no_readwrite, 8);
OUT_CS_TABLE(fb->zsbuf ? &dsa->cb_begin : dsa->cb_zb_no_readwrite, size-2);
END_CS;
}