From: Dave Airlie Date: Sun, 2 Apr 2017 04:36:51 +0000 (+1000) Subject: radv: fix order of the guardband register emission. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03a67fbbf7847cbdcc26b3bd86ee43e09a55cce9;p=mesa.git 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 --- 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