pan/bi: Lower 64-bit integers
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8358>
This commit is contained in:
parent
f4d2b35ac8
commit
f5c9a10f33
|
@ -2044,6 +2044,8 @@ bi_optimize_nir(nir_shader *nir)
|
|||
.lower_txd = true,
|
||||
};
|
||||
|
||||
NIR_PASS(progress, nir, nir_lower_int64);
|
||||
|
||||
NIR_PASS(progress, nir, nir_lower_tex, &lower_tex_options);
|
||||
NIR_PASS(progress, nir, nir_lower_alu_to_scalar, NULL, NULL);
|
||||
NIR_PASS(progress, nir, nir_lower_load_const_to_scalar);
|
||||
|
|
|
@ -67,6 +67,8 @@ static const nir_shader_compiler_options bifrost_nir_options = {
|
|||
.lower_pack_split = true,
|
||||
|
||||
.lower_doubles_options = nir_lower_dmod,
|
||||
/* TODO: Don't lower supported 64-bit operations */
|
||||
.lower_int64_options = ~0,
|
||||
|
||||
.lower_bitfield_extract_to_shifts = true,
|
||||
.has_fsub = true,
|
||||
|
|
Loading…
Reference in New Issue