projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47dc2ae
)
ilo: update texture layout for Gen8
author
Chia-I Wu
<olvaffe@gmail.com>
Sun, 25 Jan 2015 07:12:52 +0000
(15:12 +0800)
committer
Chia-I Wu
<olvaffe@gmail.com>
Wed, 11 Feb 2015 23:56:12 +0000
(07:56 +0800)
src/gallium/drivers/ilo/ilo_layout.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/ilo/ilo_layout.c
b/src/gallium/drivers/ilo/ilo_layout.c
index 1643e7acf0e515ac0b9903db51c4e432f43e38cd..2de7bd276c77a36a0ec892e3ae60e04c07cbe03a 100644
(file)
--- a/
src/gallium/drivers/ilo/ilo_layout.c
+++ b/
src/gallium/drivers/ilo/ilo_layout.c
@@
-423,7
+423,9
@@
layout_init_alignments(struct ilo_layout *layout,
}
}
} else {
- const bool valign_4 = (templ->nr_samples > 1) ||
+ const bool valign_4 =
+ (templ->nr_samples > 1) ||
+ (ilo_dev_gen(params->dev) >= ILO_GEN(8)) ||
(ilo_dev_gen(params->dev) >= ILO_GEN(7) &&
layout->tiling == INTEL_TILING_Y &&
(templ->bind & PIPE_BIND_RENDER_TARGET));