diff options
author | Jordan Justen <[email protected]> | 2016-03-28 12:08:31 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2016-03-28 17:01:35 -0700 |
commit | f60683b32a45081979df089894d36d05f2d0ec0c (patch) | |
tree | 9d501a74cdbab3ed7bfce88e1c3c03637de49ad3 | |
parent | 5879cb0251e7b4593eb4fd01684bd68f0945e3d1 (diff) |
anv: Invalidate state cache before L3 partitioning set-up.
Port 10d84ba9f084174a1e8e7639dfb05dd855ba86e8 to anv.
Signed-off-by: Jordan Justen <[email protected]>
-rw-r--r-- | src/intel/vulkan/gen7_cmd_buffer.c | 1 | ||||
-rw-r--r-- | src/intel/vulkan/gen8_cmd_buffer.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/vulkan/gen7_cmd_buffer.c b/src/intel/vulkan/gen7_cmd_buffer.c index 06b3a75cbef..b5d21efb203 100644 --- a/src/intel/vulkan/gen7_cmd_buffer.c +++ b/src/intel/vulkan/gen7_cmd_buffer.c @@ -351,6 +351,7 @@ genX(cmd_buffer_config_l3)(struct anv_cmd_buffer *cmd_buffer, bool enable_slm) .TextureCacheInvalidationEnable = true, .ConstantCacheInvalidationEnable = true, .InstructionCacheInvalidateEnable = true, + .StateCacheInvalidationEnable = true, .PostSyncOperation = NoWrite); /* Now send a third stalling flush to make sure that invalidation is diff --git a/src/intel/vulkan/gen8_cmd_buffer.c b/src/intel/vulkan/gen8_cmd_buffer.c index dab1d7411e7..5b6afb3d70d 100644 --- a/src/intel/vulkan/gen8_cmd_buffer.c +++ b/src/intel/vulkan/gen8_cmd_buffer.c @@ -162,6 +162,7 @@ genX(cmd_buffer_config_l3)(struct anv_cmd_buffer *cmd_buffer, bool enable_slm) .TextureCacheInvalidationEnable = true, .ConstantCacheInvalidationEnable = true, .InstructionCacheInvalidateEnable = true, + .StateCacheInvalidationEnable = true, .PostSyncOperation = NoWrite); /* Now send a third stalling flush to make sure that invalidation is |