projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c80bc3a
)
r300: fix missing BEGIN/END batches
author
Dave Airlie
<airlied@redhat.com>
Sun, 16 Aug 2009 08:41:23 +0000
(18:41 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 18 Aug 2009 10:10:08 +0000
(20:10 +1000)
src/mesa/drivers/dri/r300/r300_cmdbuf.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_cmdbuf.c
b/src/mesa/drivers/dri/r300/r300_cmdbuf.c
index bd46f9acf2e64dd69cd5c9485695cd9243eaac74..9042bbc1d77422c72f36627dd739f17ce801ca91 100644
(file)
--- 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)