Revert "i965/fs: Remove force_writemask_all assertion for execsize < 8."
authorMatt Turner <mattst88@gmail.com>
Tue, 24 Feb 2015 20:11:21 +0000 (12:11 -0800)
committerMatt Turner <mattst88@gmail.com>
Tue, 24 Feb 2015 22:08:04 +0000 (14:08 -0800)
This reverts commit 0d8f27eab7b7e8b7a16e76aabd3f6a0ab4880497.

"This doesn't seem to be necessary." <- I was wrong!

Tested-by: Markus Wick <markus@selfnet.de>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp

index 86cc6679d122b243626999489c8e428bc620476a..cbe61910b4ec8da72e370b71565c6dd8734a99b5 100644 (file)
@@ -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: