nir: make is_comparison() a non-static helper function
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 30 May 2018 12:21:41 +0000 (14:21 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 4 Jun 2018 10:41:08 +0000 (12:41 +0200)
commite44f90eccfaec2a1b1e813f93497bb498181dd2f
tree768040b4a25ecebebe4b5322e0c0b4ae62b93858
parent67eccd6aa2b3fcc79a232479a58a0f52b9980001
nir: make is_comparison() a non-static helper function

Rename and change the prototype for consistency regarding
nir_tex_instr_is_query(). This function will be used in the
following patch.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/nir/nir.h
src/compiler/nir/nir_opt_move_comparisons.c