3 ms·
I found this comment funny. From the colour.lisp code. https://github.com/froggey/Mezzano/blob/master/gui/colour.lisp https://github.com/froggey/Mezzano/blob/m
by blackrock 6y ago
I found this comment funny. From the colour.lisp code.
https://github.com/froggey/Mezzano/blob/master/gui/colour.lisp https://github.com/froggey/Mezzano/blob/master/gui/colour.li...
;; Mangle & unmangle the vector ordering so the colour matrix
;; layout makes more sense. This could be fixed up by rearranging
;; the matrix layout, but that's a bit beyond me.
(new-rgb (matrix4-vector4-multiply
matrix
(mezzano.simd:shufps original-rgb original-rgb
#4r0321)))