diff --git a/.pick_status.json b/.pick_status.json index 0acab29a5ba..6afc9f2898a 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -769,7 +769,7 @@ "description": "anv: allow getting the address of the beginning of the batch", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "34a0ce58c7f85ea3ec3f1026469ce06602f38a5b" }, diff --git a/src/intel/vulkan/anv_batch_chain.c b/src/intel/vulkan/anv_batch_chain.c index 4043c8417de..c6926158e82 100644 --- a/src/intel/vulkan/anv_batch_chain.c +++ b/src/intel/vulkan/anv_batch_chain.c @@ -298,7 +298,7 @@ anv_batch_emit_dwords(struct anv_batch *batch, int num_dwords) struct anv_address anv_batch_address(struct anv_batch *batch, void *batch_location) { - assert(batch->start < batch_location); + assert(batch->start <= batch_location); /* Allow a jump at the current location of the batch. */ assert(batch->next >= batch_location);