mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
gallium/tgsi_exec: drop unused function
Introduced in9ca6cf0fand last usage dropped in31369987Fixes a compile warning with clang Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14252>
This commit is contained in:
parent
887b838632
commit
a7c5645dd3
1 changed files with 0 additions and 17 deletions
|
|
@ -975,23 +975,6 @@ static const union tgsi_exec_channel M128Vec = {
|
|||
{-128.0f, -128.0f, -128.0f, -128.0f}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Assert that none of the float values in 'chan' are infinite or NaN.
|
||||
* NaN and Inf may occur normally during program execution and should
|
||||
* not lead to crashes, etc. But when debugging, it's helpful to catch
|
||||
* them.
|
||||
*/
|
||||
static inline void
|
||||
check_inf_or_nan(const union tgsi_exec_channel *chan)
|
||||
{
|
||||
assert(!util_is_inf_or_nan((chan)->f[0]));
|
||||
assert(!util_is_inf_or_nan((chan)->f[1]));
|
||||
assert(!util_is_inf_or_nan((chan)->f[2]));
|
||||
assert(!util_is_inf_or_nan((chan)->f[3]));
|
||||
}
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
static void
|
||||
print_chan(const char *msg, const union tgsi_exec_channel *chan)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue