intel/fs: Refactor some cmod propagation tests
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 21 Jul 2021 20:56:34 +0000 (13:56 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 30 Aug 2021 21:00:14 +0000 (14:00 -0700)
commit3afefb0818da96b06c07d0cf18142962e61be75c
treee7a8cf17129417b0205138224e4e4bb0a7e8acfe
parent66fa676e8dbe4d4ed65f0e72c1201cfedb867605
intel/fs: Refactor some cmod propagation tests

This will simplify some later changes to these tests.

v2: Combine test_positive_saturate_prop and test_negative_saturate_prop
into a single function.  Suggested by Marcin.

Reviewed-by: Marcin Ĺšlusarz <marcin.slusarz@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12045>
src/intel/compiler/test_fs_cmod_propagation.cpp