mesa/src/compiler/glsl/tests
Ian Romanick f45a2a93ae glsl/standalone: Optimize add-of-neg to subtract
This just makes the output of the standalone compiler a little more
compact.

v2: Fix indexing typo noticed by Iago.  Move the add_neg_to_sub_visitor
to it's own header file.  Add a unit test that exercises the visitor.
Both the neg_a_plus_b and neg_a_plus_neg_b tests reproduced the bug that
Iago discovered.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
2016-11-10 14:30:49 -08:00
..
lower_jumps glsl: move to compiler/ 2016-01-26 16:08:33 +00:00
warnings glsl: Add .gitignore for make check warnings test 2016-09-06 08:32:19 -07:00
.gitignore glsl: Add initial functions to implement an on-disk cache 2016-09-28 09:16:31 +10:00
blob_test.c glsl: move to compiler/ 2016-01-26 16:08:33 +00:00
builtin_variable_test.cpp glsl: move to compiler/ 2016-01-26 16:08:33 +00:00
cache_test.c glsl: Let cache_test build when the shader cache is not enabled 2016-10-07 11:19:37 -07:00
compare_ir glsl: move to compiler/ 2016-01-26 16:08:33 +00:00
copy_constant_to_storage_tests.cpp glsl: move to compiler/ 2016-01-26 16:08:33 +00:00
general_ir_test.cpp glsl: add matrix layout information to interface block types 2016-10-24 15:49:53 +02:00
invalidate_locations_test.cpp glsl: move to compiler/ 2016-01-26 16:08:33 +00:00
opt_add_neg_to_sub_test.cpp glsl/standalone: Optimize add-of-neg to subtract 2016-11-10 14:30:49 -08:00
optimization-test glsl: move to compiler/ 2016-01-26 16:08:33 +00:00
sampler_types_test.cpp glsl/types: Rename sampler_type to sampled_type 2016-02-13 17:22:36 -08:00
set_uniform_initializer_tests.cpp mesa/glsl: Move string_to_uint_map into the util folder 2016-09-12 10:48:35 +10:00
sexps.py glsl: move to compiler/ 2016-01-26 16:08:33 +00:00
uniform_initializer_utils.cpp glsl/types: Add support for function types 2016-02-13 17:22:36 -08:00
uniform_initializer_utils.h glsl: move to compiler/ 2016-01-26 16:08:33 +00:00
varyings_test.cpp glsl: add matrix layout information to interface block types 2016-10-24 15:49:53 +02:00
warnings-test glsl: add warning-test 2016-05-26 09:19:17 +02:00