radv: do not add the query pool BO to the list in vkCmdEndQuery()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 15 Nov 2017 09:55:05 +0000 (10:55 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 20 Nov 2017 10:18:20 +0000 (11:18 +0100)
commitbc92ed04ac79e29f890cf9f24761b0a7eab7b9ed
tree12dceb589b3ac9828ce831817634f74b7d2a5e42
parentcf54ea155eb408a37a27ab61a8315d857cd0250f
radv: do not add the query pool BO to the list in vkCmdEndQuery()

As per the spec, the query identified by queryPool and query
must currently be active. Applications have to call vkCmdBeginQuery()
before, and thus the query pool BO will already be in the list.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_query.c