projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e90e3e3
)
ilo: use HALIGN_4 on GEN7 for depth buffers
author
Chia-I Wu
<olvaffe@gmail.com>
Tue, 14 Jan 2014 07:15:07 +0000
(15:15 +0800)
committer
Chia-I Wu
<olvaffe@gmail.com>
Tue, 14 Jan 2014 07:42:53 +0000
(15:42 +0800)
The comment was no longer true since
6642381e7513926b847d6bc10bf590e1c0c54859
.
src/gallium/drivers/ilo/ilo_resource.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/ilo/ilo_resource.c
b/src/gallium/drivers/ilo/ilo_resource.c
index 3ec8839eac5ba5d446595c77aed5f7811d03f07d..301a6f217857ed395570d24cb69702f0595ca011 100644
(file)
--- a/
src/gallium/drivers/ilo/ilo_resource.c
+++ b/
src/gallium/drivers/ilo/ilo_resource.c
@@
-228,17
+228,7
@@
tex_layout_init_alignments(struct tex_layout *layout)
layout->align_j = 8;
break;
default:
- /*
- * From the Ivy Bridge PRM, volume 2 part 1, page 319:
- *
- * "The 3 LSBs of both offsets (Depth Coordinate Offset Y and
- * Depth Coordinate Offset X) must be zero to ensure correct
- * alignment"
- *
- * We will make use of them and setting align_i to 8 help us meet
- * the requirement.
- */
- layout->align_i = (templ->last_level > 0) ? 8 : 4;
+ layout->align_i = 4;
layout->align_j = 4;
break;
}