anv/gen7: Don't use the upper bound on dynamic state base address
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 18 Nov 2015 01:08:42 +0000 (17:08 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 18 Nov 2015 01:08:44 +0000 (17:08 -0800)
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

index 61592111fca657705c49036c7261956629a14971..d1a583d0bdf1564ef7126ba01036216c56a29bfe 100644 (file)
@@ -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,