anv: Keep track of whether the data cache should be enabled in L3
If images or shader buffers are used, we will enable the data cache in the the L3 config. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
@@ -1403,6 +1403,7 @@ struct anv_pipeline {
|
||||
struct anv_pipeline_bind_map bindings[MESA_SHADER_STAGES];
|
||||
|
||||
bool use_repclear;
|
||||
bool needs_data_cache;
|
||||
|
||||
const struct brw_stage_prog_data * prog_data[MESA_SHADER_STAGES];
|
||||
uint32_t scratch_start[MESA_SHADER_STAGES];
|
||||
|
Reference in New Issue
Block a user