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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user