On gen8 color resolving won't work anymore if the target isn't
the first entry in the binding table.
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
* Binding table indices used by BLORP.
*/
enum {
- BRW_BLORP_TEXTURE_BINDING_TABLE_INDEX,
BRW_BLORP_RENDERBUFFER_BINDING_TABLE_INDEX,
+ BRW_BLORP_TEXTURE_BINDING_TABLE_INDEX,
BRW_BLORP_NUM_BINDING_TABLE_ENTRIES
};
cfg_t cfg(&insts);
brw_stage_prog_data prog_data = { 0 };
brw_wm_prog_key prog_key = { 0 };
+
+ prog_data.binding_table.texture_start =
+ BRW_BLORP_TEXTURE_BINDING_TABLE_INDEX;
+
fs_generator generator(brw->intelScreen->compiler, brw, mem_ctx, &prog_key,
&prog_data, 0, false, MESA_SHADER_FRAGMENT);