projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84199fa
)
i965/gen8: Use HALIGN_16 if MCS is enabled for non-MSRT
author
Anuj Phogat
<anuj.phogat@gmail.com>
Fri, 13 Feb 2015 19:21:21 +0000
(11:21 -0800)
committer
Anuj Phogat
<anuj.phogat@gmail.com>
Wed, 25 Feb 2015 22:11:59 +0000
(14:11 -0800)
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Neil Roberts <neil@linux.intel.com>
src/mesa/drivers/dri/i965/brw_tex_layout.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_tex_layout.c
b/src/mesa/drivers/dri/i965/brw_tex_layout.c
index 799d4ca98e9ea0c00b14955421209274e941b89d..66d1b4f0256796ea3e243edc91c7d1a7dc624379 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_tex_layout.c
+++ b/
src/mesa/drivers/dri/i965/brw_tex_layout.c
@@
-82,6
+82,9
@@
intel_horizontal_texture_alignment_unit(struct brw_context *brw,
if (brw->gen >= 7 && mt->format == MESA_FORMAT_Z_UNORM16)
return 8;
+ if (brw->gen == 8 && mt->mcs_mt && mt->num_samples <= 1)
+ return 16;
+
return 4;
}