nir: Add nir_const_value_negative_equal

v2: Rebase on 1-bit Boolean changes.

Reviewed-by: Thomas Helland <thomashelland90@gmail.com> [v1]
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Ian Romanick
2018-05-24 11:37:51 -07:00
parent ae21b52e1d
commit be1cc3552b
4 changed files with 398 additions and 0 deletions

View File

@@ -282,4 +282,16 @@ if with_tests
],
suite : ['compiler', 'nir'],
)
test(
'negative_equal',
executable(
'negative_equal',
files('tests/negative_equal_tests.cpp'),
c_args : [c_vis_args, c_msvc_compat_args, no_override_init_args],
include_directories : [inc_common],
dependencies : [dep_thread, idep_gtest, idep_nir],
link_with : libmesa_util,
)
)
endif