Mesa (master): i965: Disable resource streamer in BLORP

Abdiel Janulgue abj at kemper.freedesktop.org
Sat Jul 18 13:22:13 UTC 2015


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

Author: Abdiel Janulgue <abdiel.janulgue at linux.intel.com>
Date:   Wed May 20 18:02:44 2015 +0300

i965: Disable resource streamer in BLORP

Switch off hardware-generated binding tables and gather push
constants in the blorp. Blorp requires only a minimal set of
simple constants. There is no need for the extra complexity
to program a gather table entry into the pipeline.

Cc: kenneth at whitecape.org
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Signed-off-by: Abdiel Janulgue <abdiel.janulgue at linux.intel.com>

---

 src/mesa/drivers/dri/i965/gen7_blorp.cpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mesa/drivers/dri/i965/gen7_blorp.cpp b/src/mesa/drivers/dri/i965/gen7_blorp.cpp
index abace6d..9822dc1 100644
--- a/src/mesa/drivers/dri/i965/gen7_blorp.cpp
+++ b/src/mesa/drivers/dri/i965/gen7_blorp.cpp
@@ -794,6 +794,8 @@ gen7_blorp_exec(struct brw_context *brw,
    }
    depthstencil_offset = gen6_blorp_emit_depth_stencil_state(brw, params);
    gen7_blorp_emit_depth_stencil_state_pointers(brw, depthstencil_offset);
+   if (brw->use_resource_streamer)
+      gen7_disable_hw_binding_tables(brw);
    if (params->use_wm_prog) {
       uint32_t wm_surf_offset_renderbuffer;
       uint32_t wm_surf_offset_texture = 0;




More information about the mesa-commit mailing list