From ddf31d0e315faba6a9519cc12e4b480ede38deb2 Mon Sep 17 00:00:00 2001 From: Corbin Simpson Date: Wed, 11 Mar 2009 11:54:53 -0700 Subject: [PATCH] r300-gallium: Fix CS count for texture emit. --- src/gallium/drivers/r300/r300_emit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index 4ffd92c9dc3..68741e9f084 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -276,7 +276,7 @@ void r300_emit_texture(struct r300_context* r300, { CS_LOCALS(r300); - BEGIN_CS(8); + BEGIN_CS(10); OUT_CS_REG(R300_TX_FORMAT0_0 + (offset * 4), tex->state.format0); OUT_CS_REG(R300_TX_FORMAT1_0 + (offset * 4), tex->state.format1); OUT_CS_REG(R300_TX_FORMAT2_0 + (offset * 4), tex->state.format2); -- 2.30.2