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>
This commit is contained in:
Dave Airlie
2022-01-07 12:28:01 +10:00
committed by Marge Bot
parent e943af6a55
commit 32702047d8
3 changed files with 19 additions and 17 deletions

View File

@@ -54,7 +54,7 @@ link_cross_validate_uniform_block(void *mem_ctx,
extern void
link_uniform_blocks(void *mem_ctx,
struct gl_context *ctx,
const struct gl_constants *consts,
struct gl_shader_program *prog,
struct gl_linked_shader *shader,
struct gl_uniform_block **ubo_blocks,