mesa: Add matrix utility functions to load matrices
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 2 Jun 2017 22:59:24 +0000 (15:59 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 14 May 2020 15:35:43 +0000 (15:35 +0000)
commitc731f2ab63d001d47995e3f5e0e8f5c74d5a2e55
treec569660618a54c98e47ca08fd9cf236d66a4e5a8
parentb5a8d0319b8fe14bb9f970fdca1decf6dbc9e603
mesa: Add matrix utility functions to load matrices

These are basically DSA versions of glLoadIdentity() and glLoadMatrix()
that are available for internal Mesa use.

   text     data     bss      dec    hex  filename
12243574 1344936 1290748 14879258 e30a1a  before/lib64/dri/i965_dri.so
12243486 1344936 1290748 14879170 e309c2  after/lib64/dri/i965_dri.so

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/856>
src/mesa/main/matrix.c
src/mesa/main/matrix.h