dangmoody / HLML

Auto-generated maths library for C and C++ based on HLSL/Cg
24 stars 1 forks source link

Consolidate SIMD input structs #12

Closed dangmoody closed 4 years ago

dangmoody commented 5 years ago

It's become apparent that with the current way the SIMD functions are laid out that we really only need the following types of input structs:

So the current implementation where we have a separate input struct for each SIMD function should be re-done.

Doing this would make for nicer use, and potentially faster code as the user wouldn't be having to shuffle lots of data/registers around nearly as much.

dangmoody commented 4 years ago

Whoops. Forgot to update these.

Fixed in 182b92b.