diff options
author | Jason Ekstrand <[email protected]> | 2017-11-03 15:20:08 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-11-13 19:40:10 -0800 |
commit | bc933d0e8462871e19328f66182c35543e334013 (patch) | |
tree | 1d4bc129dc020daa81e97a8fb5fa7b0c33086f35 /src/intel/vulkan/genX_blorp_exec.c | |
parent | deec84fd771876b5c0755293376df11bc95b473b (diff) |
intel/blorp: Make the MOCS setting part of blorp_address
This makes our MOCS settings significantly more flexible.
Cc: "17.3" <[email protected]>
Tested-by: Lyude Paul <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/vulkan/genX_blorp_exec.c')
-rw-r--r-- | src/intel/vulkan/genX_blorp_exec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/genX_blorp_exec.c b/src/intel/vulkan/genX_blorp_exec.c index f041fc71b55..b4b05c7022a 100644 --- a/src/intel/vulkan/genX_blorp_exec.c +++ b/src/intel/vulkan/genX_blorp_exec.c @@ -134,6 +134,7 @@ blorp_alloc_vertex_buffer(struct blorp_batch *batch, uint32_t size, *addr = (struct blorp_address) { .buffer = &cmd_buffer->device->dynamic_state_pool.block_pool.bo, .offset = vb_state.offset, + .mocs = cmd_buffer->device->default_mocs, }; return vb_state.map; |