projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
959e83d
)
r300g: fix CS checker errors caused by emit_dsa_state
author
Marek Olšák
<maraeo@gmail.com>
Wed, 9 Jan 2013 10:34:33 +0000
(11:34 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Wed, 9 Jan 2013 15:40:37 +0000
(16:40 +0100)
size is 10 on r500 and 8 on r300
src/gallium/drivers/r300/r300_emit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_emit.c
b/src/gallium/drivers/r300/r300_emit.c
index 4163d2d1430fcc3a92fdecb59269df4976d1d4b6..825038a9dc96b17e359f35f46fc92db21d8ad36c 100644
(file)
--- a/
src/gallium/drivers/r300/r300_emit.c
+++ b/
src/gallium/drivers/r300/r300_emit.c
@@
-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;
}