diff options
author | Nanley Chery <[email protected]> | 2015-08-18 12:42:57 -0700 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2015-08-25 15:45:13 -0700 |
commit | 8e581747d2342950ff44488064eef53768b3ae82 (patch) | |
tree | dab342b9dde865a36b6e09e724dec95f0ca62283 /src/mesa/main/formats.h | |
parent | 1bec29d04d970b4d60a8c60252313f25bebfe024 (diff) |
mesa/formats: make format testing a gtest
We currently check that our format info table is sane during context
initialization in debug builds. Perform this check during
`make check` instead. This enables format testing in release builds
and removes the requirement of an exhuastive switch for
_mesa_uncompressed_format_to_type_and_comps().
v2. indentation and conditional inclusion fixes (Chad).
allow tests to continue running if any format fails
and display the failing format name.
Reviewed-by: Chad Versace <[email protected]>
Signed-off-by: Nanley Chery <[email protected]>
Diffstat (limited to 'src/mesa/main/formats.h')
0 files changed, 0 insertions, 0 deletions