OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e02611
)
isl: Take the slice0_extent shortcut for interleaved MSAA
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 1 Jul 2016 21:25:59 +0000
(14:25 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 17 Aug 2016 21:46:22 +0000
(14:46 -0700)
The shortcut works just fine for MSAA and the comment even says so.
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
src/intel/isl/isl.c
patch
|
blob
|
history
diff --git
a/src/intel/isl/isl.c
b/src/intel/isl/isl.c
index
a9208f6
..
500eb2d
100644
(file)
--- a/
src/intel/isl/isl.c
+++ b/
src/intel/isl/isl.c
@@
-623,7
+623,7
@@
isl_calc_phys_slice0_extent_sa_gen4_2d(
assert(phys_level0_sa->depth == 1);
- if (info->levels == 1
&& msaa_layout != ISL_MSAA_LAYOUT_INTERLEAVED
) {
+ if (info->levels == 1) {
/* Do not pad the surface to the image alignment. Instead, pad it only
* to the pixel format's block alignment.
*