| 40 | } |
| 41 | |
| 42 | Register ContextImpl::eval(SimFunctionId func, Register* args, Sequence* generated) SKR_NOEXCEPT |
| 43 | { |
| 44 | static_assert(sizeof(skr_float4_t) == sizeof(vec4f), "size not match"); |
| 45 | static_assert(alignof(skr_float4_t) == alignof(vec4f), "align not match"); |
| 46 | |
| 47 | static_assert(sizeof(::das::Sequence) == sizeof(Sequence), "size not match"); |
| 48 | static_assert(alignof(::das::Sequence) == alignof(Sequence), "align not match"); |
| 49 | |
| 50 | auto res = ctx.eval((const SimFunction*)func.ptr, (vec4f*)args, generated); |
| 51 | auto result = *(Register*)&res; |
| 52 | return result; |
| 53 | } |
| 54 | |
| 55 | Register ContextImpl::eval_with_catch(SimFunctionId func, Register* args, Sequence* generated) SKR_NOEXCEPT |
| 56 | { |
no outgoing calls
no test coverage detected