microsoft/compiler: Remove algebaric pass for inot

Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14140>
This commit is contained in:
Jesse Natalie 2021-12-09 21:12:47 -08:00 committed by Marge Bot
parent 45354be410
commit 11eb03c44e
3 changed files with 0 additions and 8 deletions

View File

@ -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);

View File

@ -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()

View File

@ -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);