diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 93ffe1edcff..982884e217f 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -2484,6 +2484,7 @@ struct nir_shader *si_get_nir_shader(struct si_shader *shader, progress = true; } + NIR_PASS(progress, nir, nir_lower_int64); NIR_PASS(progress, nir, nir_opt_idiv_const, 8); NIR_PASS(progress, nir, nir_lower_idiv, &(nir_lower_idiv_options){ diff --git a/src/gallium/drivers/radeonsi/si_shader_nir.c b/src/gallium/drivers/radeonsi/si_shader_nir.c index 3d70756a601..3480b765a42 100644 --- a/src/gallium/drivers/radeonsi/si_shader_nir.c +++ b/src/gallium/drivers/radeonsi/si_shader_nir.c @@ -280,8 +280,6 @@ static void si_lower_nir(struct si_screen *sscreen, struct nir_shader *nir) * - ensure constant offsets for texture instructions are folded * and copy-propagated */ - NIR_PASS_V(nir, nir_lower_int64); - const struct nir_lower_tex_options lower_tex_options = { .lower_txp = ~0u, .lower_txf_offset = true,