isl: add external parameter to isl_mocs()

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9127>
This commit is contained in:
Lionel Landwerlin
2020-12-14 11:11:59 +02:00
parent e484478727
commit 207ee2b6a9
9 changed files with 22 additions and 19 deletions

View File

@@ -892,7 +892,7 @@ void anv_CmdUpdateBuffer(
.buffer = cmd_buffer->device->dynamic_state_pool.block_pool.bo,
.offset = tmp_data.offset,
.mocs = isl_mocs(&cmd_buffer->device->isl_dev,
ISL_SURF_USAGE_TEXTURE_BIT)
ISL_SURF_USAGE_TEXTURE_BIT, false)
};
struct blorp_address dst = {
.buffer = dst_buffer->address.bo,