radv: Allow writing 0 scissors.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 2 Jan 2018 02:32:14 +0000 (03:32 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 3 Jan 2018 23:14:19 +0000 (00:14 +0100)
commit1c78e4f0535f3650acaf19d2ad19e4cc7bc3b0fd
tree3e05c18460066e7a6f2fa8249d843dceb1e8c156
parent5158603182fe7435bc825b09890d77eea49d2074
radv: Allow writing 0 scissors.

When rasterization is disabled we can have that few.

Fixes: 76603aa90b8 "radv: Drop the default viewport when 0 viewports are given."
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/si_cmd_buffer.c