lavapipe: heap-allocate rendering_state struct
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 4 Mar 2022 18:17:06 +0000 (13:17 -0500)
committerMarge Bot <emma+marge@anholt.net>
Mon, 7 Mar 2022 03:56:46 +0000 (03:56 +0000)
commitfcf58e75d00a32db772d4107946a5fc8b304f196
treeec67f7118c443ad0332bd1dd3016019665baba27
parentc82dcdf598f7b78c4a0106a71e008b482cf8f70b
lavapipe: heap-allocate rendering_state struct

this thing is like 28k now, which is just way too big to have on the stack

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15233>
src/gallium/frontends/lavapipe/lvp_device.c
src/gallium/frontends/lavapipe/lvp_execute.c
src/gallium/frontends/lavapipe/lvp_private.h