radv: add some assertions in vkCmdSetViewport()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 18 Sep 2017 09:42:53 +0000 (11:42 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 20 Sep 2017 08:27:32 +0000 (10:27 +0200)
commit2ad1f20cd02b1b362d506924a52b7538f9b55d6a
tree5aaf7d62ed6ae536875fac3531a924bf75f53468
parente5b6cdbf451e175e9408cd1fc5f27578a05bf9fb
radv: add some assertions in vkCmdSetViewport()

To check some valid usage requirements.

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