radeonsi/gfx9: enlarge num_input_sgprs in shader keys due to higher hw limit
authorMarek Olšák <marek.olsak@amd.com>
Thu, 16 Feb 2017 18:36:46 +0000 (19:36 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 28 Apr 2017 19:47:35 +0000 (21:47 +0200)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.h

index 0105313495e1e79386060510feeca5216cfac966..0673c6cfcf1c8032823156794b3247532fa2e2eb 100644 (file)
@@ -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 */