From 6f5604601cefb3c656e16a7b65102740861bee90 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 24 Feb 2015 12:11:21 -0800 Subject: [PATCH] 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 --- src/mesa/drivers/dri/i965/brw_fs_generator.cpp | 1 + 1 file changed, 1 insertion(+) 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: -- 2.30.2