broadcom/vc5: Set the snorm/unorm packing functions to be lowered.

We don't have native instructions for them, so set up the lowering.  Once
we support the bfi instructions that get generated, they should start
actually working.
This commit is contained in:
Eric Anholt
2017-10-20 12:43:11 -07:00
parent 0e6fee7328
commit a48a38937c
+4
View File
@@ -1982,6 +1982,10 @@ const nir_shader_compiler_options v3d_nir_options = {
.lower_extract_word = true,
.lower_bitfield_insert = true,
.lower_bitfield_extract = true,
.lower_pack_unorm_2x16 = true,
.lower_pack_snorm_2x16 = true,
.lower_pack_unorm_4x8 = true,
.lower_pack_snorm_4x8 = true,
.lower_ffma = true,
.lower_flrp32 = true,
.lower_fpow = true,