From 03a67fbbf7847cbdcc26b3bd86ee43e09a55cce9 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 2 Apr 2017 14:36:51 +1000 Subject: [PATCH] radv: fix order of the guardband register emission. y is vert, x is horiz. Noticed in visual inspection compared to radeonsi. Reviewed-by: Bas Nieuwenhuizen Signed-off-by: Dave Airlie --- src/amd/vulkan/si_cmd_buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/amd/vulkan/si_cmd_buffer.c b/src/amd/vulkan/si_cmd_buffer.c index e847dcff035..e176abe3869 100644 --- a/src/amd/vulkan/si_cmd_buffer.c +++ b/src/amd/vulkan/si_cmd_buffer.c @@ -627,10 +627,10 @@ si_write_scissors(struct radeon_winsys_cs *cs, int first, } radeon_set_context_reg_seq(cs, R_028BE8_PA_CL_GB_VERT_CLIP_ADJ, 4); - radeon_emit(cs, fui(guardband_x)); - radeon_emit(cs, fui(1.0)); radeon_emit(cs, fui(guardband_y)); radeon_emit(cs, fui(1.0)); + radeon_emit(cs, fui(guardband_x)); + radeon_emit(cs, fui(1.0)); } static inline unsigned -- 2.30.2