diff --git a/src/microsoft/compiler/dxil_nir.h b/src/microsoft/compiler/dxil_nir.h index 440bb8fc070..45fc7fb7524 100644 --- a/src/microsoft/compiler/dxil_nir.h +++ b/src/microsoft/compiler/dxil_nir.h @@ -35,7 +35,6 @@ extern "C" { bool dxil_nir_lower_8bit_conv(nir_shader *shader); bool dxil_nir_lower_16bit_conv(nir_shader *shader); bool dxil_nir_lower_x2b(nir_shader *shader); -bool dxil_nir_lower_inot(nir_shader *shader); bool dxil_nir_lower_ubo_to_temp(nir_shader *shader); bool dxil_nir_lower_loads_stores_to_dxil(nir_shader *shader); bool dxil_nir_lower_atomics_to_dxil(nir_shader *shader); diff --git a/src/microsoft/compiler/dxil_nir_algebraic.py b/src/microsoft/compiler/dxil_nir_algebraic.py index cb78d62ea44..df824b338fd 100644 --- a/src/microsoft/compiler/dxil_nir_algebraic.py +++ b/src/microsoft/compiler/dxil_nir_algebraic.py @@ -103,10 +103,6 @@ no_16bit_conv += [ (('u2u32', ('f2f16_rtz', 'a@32')), ('pack_half_2x16_split', 'a', 0)), ] -lower_inot = [ - (('inot', a), ('ixor', a, -1)), -] - def main(): parser = argparse.ArgumentParser() parser.add_argument('-p', '--import-path', required=True) @@ -126,8 +122,6 @@ def run(): no_16bit_conv).render()) print(nir_algebraic.AlgebraicPass("dxil_nir_lower_x2b", lower_x2b).render()) - print(nir_algebraic.AlgebraicPass("dxil_nir_lower_inot", - lower_inot).render()) if __name__ == '__main__': main() diff --git a/src/microsoft/compiler/nir_to_dxil.c b/src/microsoft/compiler/nir_to_dxil.c index 37afc451607..613d15a0ec9 100644 --- a/src/microsoft/compiler/nir_to_dxil.c +++ b/src/microsoft/compiler/nir_to_dxil.c @@ -4737,7 +4737,6 @@ optimize_nir(struct nir_shader *s, const struct nir_to_dxil_options *opts) if (s->options->lower_int64_options) NIR_PASS(progress, s, nir_lower_int64); NIR_PASS(progress, s, nir_lower_alu); - NIR_PASS(progress, s, dxil_nir_lower_inot); NIR_PASS(progress, s, nir_opt_constant_folding); NIR_PASS(progress, s, nir_opt_undef); NIR_PASS(progress, s, nir_lower_undef_to_zero);