From b707e90b6e43f311109101a6816ceb7bb34cceee Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 17 Nov 2015 17:08:42 -0800 Subject: [PATCH] anv/gen7: Don't use the upper bound on dynamic state base address It doesn't do much for us and, if we have to resize the dynamic state block pool for any reason, it becomes out-of-date. --- src/vulkan/gen7_cmd_buffer.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/vulkan/gen7_cmd_buffer.c b/src/vulkan/gen7_cmd_buffer.c index 61592111fca..d1a583d0bdf 100644 --- a/src/vulkan/gen7_cmd_buffer.c +++ b/src/vulkan/gen7_cmd_buffer.c @@ -91,9 +91,6 @@ genX(cmd_buffer_emit_state_base_address)(struct anv_cmd_buffer *cmd_buffer) .DynamicStateBaseAddress = { &device->dynamic_state_block_pool.bo, 0 }, .DynamicStateMemoryObjectControlState = GEN7_MOCS, .DynamicStateBaseAddressModifyEnable = true, - .DynamicStateAccessUpperBound = { &device->dynamic_state_block_pool.bo, - device->dynamic_state_block_pool.bo.size }, - .DynamicStateAccessUpperBoundModifyEnable = true, .IndirectObjectBaseAddress = { NULL, 0 }, .IndirectObjectMemoryObjectControlState = GEN7_MOCS, -- 2.30.2