diff options
author | Yiwei Zhang <zzyiwei@chromium.org> | 2023-06-08 15:21:25 -0700 |
---|---|---|
committer | Yiwei Zhang <zzyiwei@chromium.org> | 2023-06-08 15:23:44 -0700 |
commit | 23195a8c2ddc1a926d2e46c36ecc73569f7c0ba3 (patch) | |
tree | ac6ed4945fb02ac7e75db62a72de9fc9af6da6e5 | |
parent | 88611cfcb25f276cddba0e3bafaa288291e8b223 (diff) |
util: suppress unused param warning without PIPE_ARCH_SSE
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1149>
-rw-r--r-- | src/mesa/util/u_math.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/util/u_math.c b/src/mesa/util/u_math.c index 7913285..36aa2f7 100644 --- a/src/mesa/util/u_math.c +++ b/src/mesa/util/u_math.c @@ -115,7 +115,7 @@ util_fpstate_set_denorms_to_zero(unsigned current_mxcsr) * On platforms without support for it's a noop. */ void -util_fpstate_set(unsigned mxcsr) +util_fpstate_set(UNUSED unsigned mxcsr) { #if defined(PIPE_ARCH_SSE) if (util_get_cpu_caps()->has_sse) { |