Переглянути джерело

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@whitecape.org
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
tags/11.0-branchpoint
Abdiel Janulgue 11 роки тому
джерело
коміт
670914ea7c
1 змінених файлів з 2 додано та 0 видалено
  1. 2
    0
      src/mesa/drivers/dri/i965/gen7_blorp.cpp

+ 2
- 0
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;

Завантаження…
Відмінити
Зберегти