mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 22:10:10 +01:00
mesa: Namespace qualify fma to override ambiguity with fma from math.h
MSVC 2013 version of math.h includes an fma() function. Cc: "10.0" <mesa-stable@lists.freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
8fcddd325c
commit
e8ff08edd8
1 changed files with 1 additions and 1 deletions
|
|
@ -3936,7 +3936,7 @@ builtin_builder::_fma(const glsl_type *type)
|
||||||
ir_variable *c = in_var(type, "c");
|
ir_variable *c = in_var(type, "c");
|
||||||
MAKE_SIG(type, gpu_shader5, 3, a, b, c);
|
MAKE_SIG(type, gpu_shader5, 3, a, b, c);
|
||||||
|
|
||||||
body.emit(ret(fma(a, b, c)));
|
body.emit(ret(ir_builder::fma(a, b, c)));
|
||||||
|
|
||||||
return sig;
|
return sig;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue