broadcom/vc5: Lower unpack_*_4x8 to normal math.

We only have 2x16 unpacking in our ALUs.  To enable this, we also need
lower_fdiv for its new instructions, which had been handled at a higher
level previously.
This commit is contained in:
Eric Anholt
2017-10-24 13:08:17 -07:00
parent eecdbaa985
commit 125f2a751e
+3
View File
@@ -1976,6 +1976,9 @@ const nir_shader_compiler_options v3d_nir_options = {
.lower_pack_snorm_2x16 = true,
.lower_pack_unorm_4x8 = true,
.lower_pack_snorm_4x8 = true,
.lower_unpack_unorm_4x8 = true,
.lower_unpack_snorm_4x8 = true,
.lower_fdiv = true,
.lower_ffma = true,
.lower_flrp32 = true,
.lower_fpow = true,