projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7bdf04
)
nv10: enable viewport clipping
author
Peter Winters
<peter@whoei.org>
Sun, 20 Apr 2008 20:48:50 +0000
(22:48 +0200)
committer
Peter Winters
<peter@whoei.org>
Sun, 20 Apr 2008 20:48:50 +0000
(22:48 +0200)
src/gallium/drivers/nv10/nv10_state_emit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv10/nv10_state_emit.c
b/src/gallium/drivers/nv10/nv10_state_emit.c
index b7ae57d500ad032cbef8b2e450bd588768f071bb..41422c88825e7a47c3451b40a10530fa3878c507 100644
(file)
--- a/
src/gallium/drivers/nv10/nv10_state_emit.c
+++ b/
src/gallium/drivers/nv10/nv10_state_emit.c
@@
-161,8
+161,8
@@
static void nv10_state_emit_framebuffer(struct nv10_context* nv10)
OUT_RING ((h << 16) | 0);
OUT_RING (rt_format);
BEGIN_RING(celsius, NV10TCL_VIEWPORT_CLIP_HORIZ(0), 2);
- OUT_RING (((w - 1) << 16) | 0);
- OUT_RING (((h - 1) << 16) | 0);
+ OUT_RING (((w - 1) << 16) | 0
| 0x08000800
);
+ OUT_RING (((h - 1) << 16) | 0
| 0x08000800
);
}
static void nv10_vertex_layout(struct nv10_context *nv10)