Let's inch closer to 8-bit.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5151>
/* Replicate for now.. should really pick a side for
* dot products */
- if (reg_mode == midgard_reg_mode_16) {
+ if (reg_mode == midgard_reg_mode_16 && sz == 16) {
*rep_low = !upper;
*rep_high = upper;
+ } else if (reg_mode == midgard_reg_mode_16 && sz == 8) {
+ *rep_low = upper;
+ *rep_high = upper;
} else if (reg_mode == midgard_reg_mode_32) {
*rep_low = upper;
} else {