diff options
author | Rafael Antognolli <[email protected]> | 2019-11-05 11:12:36 -0800 |
---|---|---|
committer | Rafael Antognolli <[email protected]> | 2019-11-12 20:41:52 +0000 |
commit | d4f628235ee03e3681906e52bd7af10349d4013c (patch) | |
tree | 4554c9c6535fce339985b93e9da1e881b5f71690 /src/intel/vulkan/anv_device.c | |
parent | 2b01636ddb6d4f9bca7cb52ac599c3e143cdc39c (diff) |
anv: Use mocs settings from isl_dev.
v2: Remove device->default_mocs and external_mocs (Jason).
Reviewed-by: Jordan Justen <[email protected]>
Acked-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r-- | src/intel/vulkan/anv_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 74cefbffbf1..28a652867d9 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -3944,7 +3944,7 @@ anv_fill_buffer_surface_state(struct anv_device *device, struct anv_state state, { isl_buffer_fill_state(&device->isl_dev, state.map, .address = anv_address_physical(address), - .mocs = device->default_mocs, + .mocs = device->isl_dev.mocs.internal, .size_B = range, .format = format, .swizzle = ISL_SWIZZLE_IDENTITY, |