diff options
author | Dave Airlie <airlied@redhat.com> | 2020-06-19 16:45:33 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2020-07-27 13:48:11 +1000 |
commit | 7e10310a7595fb4253c7b69aafe5452040c404f3 (patch) | |
tree | 8191aadf0f1915f606699ec93f923b6dc9ffa177 | |
parent | 8c38e6d575347560264d0423f2f1f7a49964d448 (diff) |
llvmpipe: add some nir options for vulkan
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_screen.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 844f631a44d..1eaf3c9067a 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -553,20 +553,31 @@ static const struct nir_shader_compiler_options gallivm_nir_options = { .lower_fmod = true, .lower_hadd = true, .lower_add_sat = true, + .lower_fdot = true, + .lower_fdph = true, .lower_pack_snorm_2x16 = true, .lower_pack_snorm_4x8 = true, .lower_pack_unorm_2x16 = true, .lower_pack_unorm_4x8 = true, + .lower_pack_half_2x16 = true, + .lower_pack_split = true, .lower_unpack_snorm_2x16 = true, .lower_unpack_snorm_4x8 = true, .lower_unpack_unorm_2x16 = true, .lower_unpack_unorm_4x8 = true, + .lower_unpack_half_2x16 = true, + .lower_ldexp = true, .lower_extract_byte = true, .lower_extract_word = true, .lower_rotate = true, + .lower_uadd_carry = true, + .lower_usub_borrow = true, + .lower_mul_2x32_64 = true, .lower_ifind_msb = true, + .lower_all_io_to_elements = true, .max_unroll_iterations = 32, .use_interpolated_input_intrinsics = true, + .vectorize_io = true, .lower_to_scalar = true, .lower_cs_local_index_from_id = true, }; |