projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a49ccf0
)
i965g: scissor off by one
author
Keith Whitwell
<keithw@vmware.com>
Fri, 6 Nov 2009 08:27:43 +0000
(08:27 +0000)
committer
Keith Whitwell
<keithw@vmware.com>
Fri, 6 Nov 2009 08:27:43 +0000
(08:27 +0000)
src/gallium/drivers/i965/brw_sf_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i965/brw_sf_state.c
b/src/gallium/drivers/i965/brw_sf_state.c
index e41266984460fc5fbb2b9a806ac1a42c44249443..955478e6240fe7fc599b1fc79da1892a5e461165 100644
(file)
--- a/
src/gallium/drivers/i965/brw_sf_state.c
+++ b/
src/gallium/drivers/i965/brw_sf_state.c
@@
-58,9
+58,9
@@
static enum pipe_error upload_sf_vp(struct brw_context *brw)
sfv.viewport.m32 = vp->translate[2];
sfv.scissor.xmin = scissor->minx;
- sfv.scissor.xmax = scissor->maxx
; /* -1 ?
? */
+ sfv.scissor.xmax = scissor->maxx
- 1; /*
? */
sfv.scissor.ymin = scissor->miny;
- sfv.scissor.ymax = scissor->maxy
; /* -1 ?
? */
+ sfv.scissor.ymax = scissor->maxy
- 1; /*
? */
ret = brw_cache_data( &brw->cache, BRW_SF_VP, &sfv, NULL, 0,
&brw->sf.vp_bo );