diff options
author | Alejandro Piñeiro <[email protected]> | 2015-09-30 13:39:30 +0200 |
---|---|---|
committer | Alejandro Piñeiro <[email protected]> | 2015-10-22 21:58:03 +0200 |
commit | 8fc8fcc04f584b32cd5bf633da8e3508249e339d (patch) | |
tree | 8a7bff110e6a2ecdbd561dec77bcf736c5bdf5cd /src/mesa/math | |
parent | 627f94b72e0e9443ad116f072599a7342269f297 (diff) |
i965/vec4: Add unit tests for cmod propagation pass
This include the same tests coming from test_fs_cmod_propagation, (non
vector glsl types included) plus some new with vec4 types, inspired on
the regressions found while the optimization was a work in progress.
Additionally, the check of number of instructions after the
optimization was changed from EXPECT_EQ to ASSERT_EQ. This was done to
avoid a crash on failing tests that expected no optimization, as after
checking the number of instructions, there were some checks related to
this last instruction opcode/conditional mod.
v2: update tests after Matt Turner's review of the optimization pass
v3: tweaks on the tests (mostly on the comments), after Matt Turner's
review
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/math')
0 files changed, 0 insertions, 0 deletions