glx/drisw: make the shm/non-shm loader extensions separately.
authorDave Airlie <airlied@redhat.com>
Tue, 29 May 2018 03:04:03 +0000 (13:04 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 29 May 2018 23:11:54 +0000 (09:11 +1000)
commitd3ff4787322c5855aad1e9ee0ee0aa141f7d6420
tree8ee040b7fece3d0b8174fcc8d0f86904fbb0e252
parent33ce3aa512fa9c8313003f61516588e1ae3e5f8f
glx/drisw: make the shm/non-shm loader extensions separately.

I disliked removing the const here, function tables are meant
to be const just to avoid having to think about them,
make a second table for the shm vs non-shm paths to use.

Reviewed-by: Adam Jackson <ajax@redhat.com>
src/glx/drisw_glx.c