diff options
author | Dave Airlie <[email protected]> | 2009-08-16 18:41:23 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-08-18 20:10:08 +1000 |
commit | 0e705c0dd397fe3c607551f988614178dacb9fa4 (patch) | |
tree | fe4a484a00b0a61db1f10a9198e31b4481e4ec0a /src | |
parent | c80bc3abcd3939e5e2d45aea4b01ff22bfec244b (diff) |
r300: fix missing BEGIN/END batches
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_cmdbuf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_cmdbuf.c b/src/mesa/drivers/dri/r300/r300_cmdbuf.c index bd46f9acf2e..9042bbc1d77 100644 --- a/src/mesa/drivers/dri/r300/r300_cmdbuf.c +++ b/src/mesa/drivers/dri/r300/r300_cmdbuf.c @@ -430,6 +430,7 @@ static void emit_zstencil_format(GLcontext *ctx, struct radeon_state_atom * atom format = R300_DEPTHFORMAT_24BIT_INT_Z_8BIT_STENCIL; } + BEGIN_BATCH_NO_AUTOSTATE(5); OUT_BATCH(atom->cmd[0]); atom->cmd[1] &= ~0xf; atom->cmd[1] |= format; @@ -437,6 +438,7 @@ static void emit_zstencil_format(GLcontext *ctx, struct radeon_state_atom * atom OUT_BATCH(atom->cmd[2]); OUT_BATCH(atom->cmd[3]); OUT_BATCH(atom->cmd[4]); + END_BATCH(); } static int check_always(GLcontext *ctx, struct radeon_state_atom *atom) |