radv: Prepare for not using the guard band for lines & points.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 29 Mar 2017 20:58:10 +0000 (22:58 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 30 Mar 2017 20:21:14 +0000 (22:21 +0200)
commit8a53e6e4c52f46fa4bd21730754a6e4a523acc15
tree4de922f7284f411d654b9023a49c491bd8d95b88
parent76603aa90b884c91599595dfce36b833fb2409f7
radv: Prepare for not using the guard band for lines & points.

Vulkan Clipping is defined in terms of vertices, the scissor based
clipping happens on pixels. There is a difference with points and
lines, as a vertex can be outside the viewport while some pixels are in.
On Vulkan thoise pixels shouldn't be drawn, while they would be with
the guardband.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h