i965/icl: Disable binding table prefetching
[mesa.git] / src / intel / blorp / blorp_genX_exec.h
index 8bd9174b677ba4a24efd6f5c9840e4fdbbb8ad2c..50341ab0ecf3c5f6b999e60b1e0c3543f8548450 100644 (file)
@@ -762,6 +762,13 @@ blorp_emit_ps_config(struct blorp_batch *batch,
          ps.BindingTableEntryCount = 1;
       }
 
+     /* Gen 11 workarounds table #2056 WABTPPrefetchDisable suggests to
+      * disable prefetching of binding tables on A0 and B0 steppings.
+      * TODO: Revisit this WA on C0 stepping.
+      */
+      if (GEN_GEN == 11)
+         ps.BindingTableEntryCount = 0;
+
       if (prog_data) {
          ps._8PixelDispatchEnable = prog_data->dispatch_8;
          ps._16PixelDispatchEnable = prog_data->dispatch_16;