radv: Assert when setting 0 registers in a sequence.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 28 Mar 2017 20:29:16 +0000 (22:29 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 28 Mar 2017 23:58:16 +0000 (01:58 +0200)
commit78ee8b3f849063e3e37db0767212397da522b6fa
treeb272a0296ab27195211226a81ea18f56cd5f9e63
parentf3673db3d61b77415a09ca5d44f976e6fb869ec7
radv: Assert when setting 0 registers in a sequence.

To catch more of those hangs early.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Acked-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cs.h