summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTopi Pohjolainen <topi.pohjolainen@intel.com>2018-05-30 07:46:08 -0400
committerTopi Pohjolainen <topi.pohjolainen@intel.com>2018-06-08 05:44:24 -0400
commitcdddab9d4527a84c73995744b3c1c8fcd6c3826e (patch)
tree5428ddae298f4a87e3a62ce884bbdbf493dcb5ec
parent5a18a5a0b3c3a922393a4ff3faedb79a49af739a (diff)
i965/icl: Disable binding table prefetchingicl_dbg
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
-rw-r--r--src/intel/blorp/blorp_genX_exec.h4
-rw-r--r--src/mesa/drivers/dri/i965/genX_state_upload.c5
2 files changed, 4 insertions, 5 deletions
diff --git a/src/intel/blorp/blorp_genX_exec.h b/src/intel/blorp/blorp_genX_exec.h
index 593521b95c..ad14f95968 100644
--- a/src/intel/blorp/blorp_genX_exec.h
+++ b/src/intel/blorp/blorp_genX_exec.h
@@ -753,9 +753,9 @@ blorp_emit_ps_config(struct blorp_batch *batch,
blorp_emit(batch, GENX(3DSTATE_PS), ps) {
if (params->src.enabled) {
ps.SamplerCount = 1; /* Up to 4 samplers */
- ps.BindingTableEntryCount = 2;
+ ps.BindingTableEntryCount = 0;
} else {
- ps.BindingTableEntryCount = 1;
+ ps.BindingTableEntryCount = 0;
}
if (prog_data) {
diff --git a/src/mesa/drivers/dri/i965/genX_state_upload.c b/src/mesa/drivers/dri/i965/genX_state_upload.c
index b1867c1a1c..6ab01c5afc 100644
--- a/src/mesa/drivers/dri/i965/genX_state_upload.c
+++ b/src/mesa/drivers/dri/i965/genX_state_upload.c
@@ -2071,8 +2071,7 @@ static const struct brw_tracked_state genX(wm_state) = {
pkt.KernelStartPointer = KSP(brw, stage_state->prog_offset); \
pkt.SamplerCount = \
DIV_ROUND_UP(CLAMP(stage_state->sampler_count, 0, 16), 4); \
- pkt.BindingTableEntryCount = \
- stage_prog_data->binding_table.size_bytes / 4; \
+ pkt.BindingTableEntryCount = 0; \
pkt.FloatingPointMode = stage_prog_data->use_alt_mode; \
\
if (stage_prog_data->total_scratch) { \
@@ -3860,7 +3859,7 @@ genX(upload_ps)(struct brw_context *brw)
DIV_ROUND_UP(CLAMP(stage_state->sampler_count, 0, 16), 4);
/* BRW_NEW_FS_PROG_DATA */
- ps.BindingTableEntryCount = prog_data->base.binding_table.size_bytes / 4;
+ ps.BindingTableEntryCount = 0;
if (prog_data->base.use_alt_mode)
ps.FloatingPointMode = Alternate;