From: Jason Ekstrand Date: Wed, 18 Nov 2015 01:08:42 +0000 (-0800) Subject: anv/gen7: Don't use the upper bound on dynamic state base address X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b707e90b6e43f311109101a6816ceb7bb34cceee;p=mesa.git 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. --- 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,