diff options
author | Anuj Phogat <[email protected]> | 2015-02-13 11:21:21 -0800 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2015-02-25 14:11:59 -0800 |
commit | 47053464630888f819ef8cc44278f1a1220159b9 (patch) | |
tree | b3c1942f38b09e69667e518a2def30241375cc7f | |
parent | 84199fa64731c19a1527e68bd9d15e81ab05df3f (diff) |
i965/gen8: Use HALIGN_16 if MCS is enabled for non-MSRT
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Neil Roberts <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_tex_layout.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_tex_layout.c b/src/mesa/drivers/dri/i965/brw_tex_layout.c index 799d4ca98e9..66d1b4f0256 100644 --- 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; } |