From cfb0798bb3e5f38cf3874083f0f25a2b694b7c54 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 16 Feb 2017 19:36:46 +0100 Subject: [PATCH] radeonsi/gfx9: enlarge num_input_sgprs in shader keys due to higher hw limit MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h index 0105313..0673c6c 100644 --- a/src/gallium/drivers/radeonsi/si_shader.h +++ b/src/gallium/drivers/radeonsi/si_shader.h @@ -393,7 +393,7 @@ struct si_ps_epilog_bits { union si_shader_part_key { struct { struct si_vs_prolog_bits states; - unsigned num_input_sgprs:5; + unsigned num_input_sgprs:6; unsigned last_input:4; } vs_prolog; struct { @@ -408,7 +408,7 @@ union si_shader_part_key { } gs_prolog; struct { struct si_ps_prolog_bits states; - unsigned num_input_sgprs:5; + unsigned num_input_sgprs:6; unsigned num_input_vgprs:5; /* Color interpolation and two-side color selection. */ unsigned colors_read:8; /* color input components read */ -- 2.7.4