[Mesa-dev] [RFC PATCH 18/40] i965: Don't use gather push constants in BLORP
Abdiel Janulgue
abdiel.janulgue at linux.intel.com
Sun Jan 4 06:04:32 PST 2015
Switch off gather push constants in the blorp. Blorp requires only a
a set of simple constants that there is no need for the extra complexity
to program a gather table entry into the pipeline.
Signed-off-by: Abdiel Janulgue <abdiel.janulgue at linux.intel.com>
---
src/mesa/drivers/dri/i965/gen7_blorp.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/drivers/dri/i965/gen7_blorp.cpp b/src/mesa/drivers/dri/i965/gen7_blorp.cpp
index f6fb904..da21a55 100644
--- a/src/mesa/drivers/dri/i965/gen7_blorp.cpp
+++ b/src/mesa/drivers/dri/i965/gen7_blorp.cpp
@@ -847,6 +847,7 @@ gen7_blorp_exec(struct brw_context *brw,
wm_surf_offset_texture);
sampler_offset = gen6_blorp_emit_sampler_state(brw, params);
}
+ gen7_toggle_gather_constants(brw, false);
gen7_blorp_emit_vs_disable(brw, params);
gen7_blorp_emit_hs_disable(brw, params);
gen7_blorp_emit_te_disable(brw, params);
--
1.9.1
More information about the mesa-dev
mailing list