projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76b11d1
)
ilo: fix fb height of HiZ ops
author
Chia-I Wu
<olvaffe@gmail.com>
Tue, 29 Jul 2014 02:21:42 +0000
(10:21 +0800)
committer
Chia-I Wu
<olvaffe@gmail.com>
Tue, 29 Jul 2014 02:24:59 +0000
(10:24 +0800)
It was set to aligned width. It appears to be fine on GEN7+, but causes
random hangs on GEN6.
src/gallium/drivers/ilo/ilo_blitter_rectlist.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/ilo/ilo_blitter_rectlist.c
b/src/gallium/drivers/ilo/ilo_blitter_rectlist.c
index 3cb17e0f37a9d0d33f38f1f2fd3b08d23f0955d8..f80dc5ddd2de2eee66a21bf11006a81be6d6d86f 100644
(file)
--- a/
src/gallium/drivers/ilo/ilo_blitter_rectlist.c
+++ b/
src/gallium/drivers/ilo/ilo_blitter_rectlist.c
@@
-290,7
+290,7
@@
hiz_align_fb(struct ilo_blitter *blitter)
if (blitter->fb.width % align_w || blitter->fb.height % align_h) {
blitter->fb.width = align(blitter->fb.width, align_w);
- blitter->fb.height = align(blitter->fb.
width
, align_h);
+ blitter->fb.height = align(blitter->fb.
height
, align_h);
assert(!blitter->fb.dst.is_rt);
zs_align_surface(blitter->ilo->dev, align_w, align_h,