Mesa (master): i965/icl: Enable float blend optimization and Wa3DStateMode

Anuj Phogat aphogat at kemper.freedesktop.org
Fri Feb 16 01:05:06 UTC 2018


Module: Mesa
Branch: master
Commit: 3f8289164f6d910bdf62e4b55c6ccb22dec90417
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3f8289164f6d910bdf62e4b55c6ccb22dec90417

Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Fri Nov  3 14:48:29 2017 -0700

i965/icl: Enable float blend optimization and Wa3DStateMode

Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/drivers/dri/i965/brw_state_upload.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c b/src/mesa/drivers/dri/i965/brw_state_upload.c
index 2c8c0f4b27..86c12e4d35 100644
--- a/src/mesa/drivers/dri/i965/brw_state_upload.c
+++ b/src/mesa/drivers/dri/i965/brw_state_upload.c
@@ -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);




More information about the mesa-commit mailing list