i965/icl: Enable float blend optimization and Wa3DStateMode
authorAnuj Phogat <anuj.phogat@gmail.com>
Fri, 3 Nov 2017 21:48:29 +0000 (14:48 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Fri, 16 Feb 2018 00:14:56 +0000 (16:14 -0800)
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_state_upload.c

index 2c8c0f4b278fa2f8083c436d9ee3fc1a2fc89a69..86c12e4d357c0f12246873f5d8a7669fb61c0611 100644 (file)
@@ -62,7 +62,7 @@ brw_upload_initial_gpu_state(struct brw_context *brw)
 
    brw_upload_invariant_state(brw);
 
-   if (devinfo->gen == 10) {
+   if (devinfo->gen == 10 || devinfo->gen == 11) {
       brw_load_register_imm32(brw, GEN10_CACHE_MODE_SS,
                               REG_MASK(GEN10_FLOAT_BLEND_OPTIMIZATION_ENABLE) |
                               GEN10_FLOAT_BLEND_OPTIMIZATION_ENABLE);