diff options
author | Bas Nieuwenhuizen <[email protected]> | 2017-03-29 22:58:10 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-03-30 22:21:14 +0200 |
commit | 8a53e6e4c52f46fa4bd21730754a6e4a523acc15 (patch) | |
tree | 4de922f7284f411d654b9023a49c491bd8d95b88 /src/amd/vulkan/radv_private.h | |
parent | 76603aa90b884c91599595dfce36b833fb2409f7 (diff) |
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 <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 31e08287c9c..410e63ba413 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -968,6 +968,7 @@ struct radv_pipeline { uint32_t pa_cl_vs_out_cntl; uint32_t vgt_shader_stages_en; struct radv_prim_vertex_count prim_vertex_count; + bool can_use_guardband; } graphics; }; |