radv: add an assertion in radv_BeginCommandBuffer()
authorGwan-gyeong Mun <elongbug@gmail.com>
Tue, 26 Sep 2017 08:14:16 +0000 (01:14 -0700)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 28 Sep 2017 12:20:14 +0000 (13:20 +0100)
commitd0d6a611d990c16136c2f27aeec192f37729fa0b
tree876e7ccb047a294235f182f2d995995bb2373b80
parent5603670bc084385daf80c3d06a7d6f46f3daffb9
radv: add an assertion in radv_BeginCommandBuffer()

To check a valid usage requirement.

CID: 1401616

Signed-off-by: Mun Gwan-gyeong <elongbug@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_cmd_buffer.c