vc4: Use the original bit size when scalarizing uniform loads.
authorEric Anholt <eric@anholt.net>
Sun, 16 Dec 2018 03:42:57 +0000 (19:42 -0800)
committerJason Ekstrand <jason@jlekstrand.net>
Sun, 16 Dec 2018 21:03:01 +0000 (21:03 +0000)
commit91a0251dbcc4d190ef3936f1d009897b60880f4e
treeed516d40dcf955ce5879c70b8c6cf7e37de05a2e
parentbde9f482de69528db5ccf5dd6bbfd8359adfbb19
vc4: Use the original bit size when scalarizing uniform loads.

Prevents a regression in jekstrand's 1-bit series.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/gallium/drivers/vc4/vc4_nir_lower_io.c