OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b38c26f
)
i965: Fix regression in 29a911c50e4443dfebef0a2e32c39b64992fa3cc.
author
Eric Anholt
<eric@anholt.net>
Tue, 19 Jul 2011 19:20:14 +0000
(12:20 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 19 Jul 2011 19:20:14 +0000
(12:20 -0700)
The previous define was the full 32-bit header, while the new define
was just the top 16 bits.
src/mesa/drivers/dri/i965/brw_misc_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_misc_state.c
b/src/mesa/drivers/dri/i965/brw_misc_state.c
index
03cebbb
..
f7e6e7c
100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_misc_state.c
+++ b/
src/mesa/drivers/dri/i965/brw_misc_state.c
@@
-46,7
+46,7
@@
static void upload_drawing_rect(struct brw_context *brw)
struct gl_context *ctx = &intel->ctx;
BEGIN_BATCH(4);
- OUT_BATCH(_3DSTATE_DRAWING_RECTANGLE);
+ OUT_BATCH(_3DSTATE_DRAWING_RECTANGLE
<< 16 | (4 - 2)
);
OUT_BATCH(0); /* xmin, ymin */
OUT_BATCH(((ctx->DrawBuffer->Width - 1) & 0xffff) |
((ctx->DrawBuffer->Height - 1) << 16));