PPU: refactor vector rounding instructions
Fix: nearbyint -> roundeven
This commit is contained in:
+1
-11
@@ -270,7 +270,7 @@ public:
|
||||
|
||||
built_function& operator=(const built_function&) = delete;
|
||||
|
||||
template <typename F> requires (std::is_invocable_v<F, native_asm&, native_args&>)
|
||||
template <typename F>
|
||||
built_function(std::string_view name, F&& builder,
|
||||
u32 line = __builtin_LINE(),
|
||||
u32 col = __builtin_COLUMN(),
|
||||
@@ -280,16 +280,6 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
template <typename F> requires (std::is_invocable_v<F>)
|
||||
built_function(std::string_view, F&& getter,
|
||||
u32 line = __builtin_LINE(),
|
||||
u32 col = __builtin_COLUMN(),
|
||||
const char* file = __builtin_FILE(),
|
||||
const char* func = __builtin_FUNCTION())
|
||||
: m_func(ensure(getter(), const_str(), line, col, file, func))
|
||||
{
|
||||
}
|
||||
|
||||
operator FT() const noexcept
|
||||
{
|
||||
return m_func;
|
||||
|
||||
Reference in New Issue
Block a user