radeonsi: reduce type sizes in si_shader_selector
[mesa.git] / src / gallium / drivers / radeonsi / si_shader.c
index 084ae587ae153f171b3f647f40d5923e99e04d6f..0bb0b3a71a38f26097f06e047277436d82291509 100644 (file)
@@ -2142,7 +2142,7 @@ void si_get_ps_prolog_key(struct si_shader *shader, union si_shader_part_key *ke
    key->ps_prolog.ancillary_vgpr_index = shader->info.ancillary_vgpr_index;
 
    if (info->colors_read) {
-      unsigned *color = shader->selector->color_attr_index;
+      ubyte *color = shader->selector->color_attr_index;
 
       if (shader->key.part.ps.prolog.color_two_side) {
          /* BCOLORs are stored after the last input. */