typedef struct
{
- slang_varying_binding bindings[MAX_VARYING_FLOATS];
+ slang_varying_binding bindings[MAX_VARYING * 4];
GLuint binding_count;
- slang_varying_slot slots[MAX_VARYING_FLOATS];
+ slang_varying_slot slots[MAX_VARYING * 4];
GLuint slot_count;
} slang_varying_bindings;
/*@}*/
extern void
_slang_link2(GLcontext *ctx, GLhandleARB h,
- struct gl_linked_program *linked);
+ struct gl_shader_program *shProg);
+
+extern void
+_slang_resolve_samplers(struct gl_shader_program *shProg,
+ struct gl_program *prog);
+
+extern void
+_slang_remap_attribute(struct gl_program *prog, GLuint oldAttrib, GLuint newAttrib);
+
#ifdef __cplusplus
}