summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_device.c
diff options
context:
space:
mode:
authorRafael Antognolli <[email protected]>2019-07-22 10:56:53 -0700
committerRafael Antognolli <[email protected]>2019-08-12 16:19:08 -0700
commit7bc022b4bbcd501be3e7d7d036f7382f6c0542b0 (patch)
tree7051efdebe46d20f085e0b79a42a579b35821527 /src/intel/vulkan/anv_device.c
parenta1a499e7fef44b8ba5bc8f27a53bc83f5968cae6 (diff)
anv/gen11: Emit SLICE_HASH_TABLE when pipes are unbalanced.
If the pixel pipes have a different number of subslices, emit a slice hashing table that will ensure proper workload distribution. v2: Don't need to set the mask - it's mbo (Ken).
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r--src/intel/vulkan/anv_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 9154c1ab5a7..c55b5233cc7 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -2596,6 +2596,7 @@ void anv_DestroyDevice(
* BO will go away in a couple of lines so we don't actually leak.
*/
anv_state_pool_free(&device->dynamic_state_pool, device->border_colors);
+ anv_state_pool_free(&device->dynamic_state_pool, device->slice_hash);
#endif
anv_scratch_pool_finish(device, &device->scratch_pool);