glsl/linker: get rid of gl_context from link varyings

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 10:56:45 +10:00
committed by Marge Bot
parent 98f665e613
commit adbbee980d
3 changed files with 20 additions and 16 deletions

View File

@@ -288,9 +288,12 @@ private:
unsigned stream_id;
};
bool
link_varyings(struct gl_shader_program *prog, unsigned first, unsigned last,
struct gl_context *ctx, void *mem_ctx);
const struct gl_constants *consts,
const struct gl_extensions *exts,
gl_api api, void *mem_ctx);
void
validate_first_and_last_interface_explicit_locations(struct gl_context *ctx,