glsl/linker/uniform_blocks: don't pass gl_context around.
authorDave Airlie <airlied@redhat.com>
Fri, 7 Jan 2022 02:28:01 +0000 (12:28 +1000)
committerMarge Bot <emma+marge@anholt.net>
Fri, 7 Jan 2022 06:19:49 +0000 (06:19 +0000)
commit32702047d87d65f6df4df0092043e19a5b023922
treea68c3ed264428e187b1e5b3fc8a55b4575bbd67a
parente943af6a55847234da5dbd29548e80275f9d6282
glsl/linker/uniform_blocks: don't pass gl_context around.

just pass the constants

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14433>
src/compiler/glsl/link_uniform_blocks.cpp
src/compiler/glsl/linker.cpp
src/compiler/glsl/linker.h