From: Matt Turner Date: Tue, 24 Feb 2015 20:11:21 +0000 (-0800) Subject: Revert "i965/fs: Remove force_writemask_all assertion for execsize < 8." X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f5604601cefb3c656e16a7b65102740861bee90;p=mesa.git Revert "i965/fs: Remove force_writemask_all assertion for execsize < 8." This reverts commit 0d8f27eab7b7e8b7a16e76aabd3f6a0ab4880497. "This doesn't seem to be necessary." <- I was wrong! Tested-by: Markus Wick Reviewed-by: Francisco Jerez --- diff --git a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp index 86cc6679d12..cbe61910b4e 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp @@ -1596,6 +1596,7 @@ fs_generator::generate_code(const cfg_t *cfg, int dispatch_width) case 1: case 2: case 4: + assert(inst->force_writemask_all); brw_set_default_compression_control(p, BRW_COMPRESSION_NONE); break; case 8: