#ifndef PROGRAM_H
#define PROGRAM_H
-#include "main/compiler.h"
-#include "main/mtypes.h"
+#include "prog_parameter.h"
#ifdef __cplusplus
_mesa_set_program_error(struct gl_context *ctx, GLint pos, const char *string);
extern struct gl_program *
-_mesa_init_gl_program(struct gl_program *prog, GLenum target, GLuint id);
+_mesa_init_gl_program(struct gl_program *prog, GLenum target, GLuint id,
+ bool is_arb_asm);
extern struct gl_program *
-_mesa_new_program(struct gl_context *ctx, GLenum target, GLuint id);
+_mesa_new_program(struct gl_context *ctx, GLenum target, GLuint id,
+ bool is_arb_asm);
extern void
_mesa_delete_program(struct gl_context *ctx, struct gl_program *prog);
extern GLint
_mesa_get_min_invocations_per_fragment(struct gl_context *ctx,
- const struct gl_program *prog,
- bool ignore_sample_qualifier);
+ const struct gl_program *prog);
static inline GLuint
_mesa_program_enum_to_shader_stage(GLenum v)
return GL_VERTEX_PROGRAM_ARB;
}
+
+GLbitfield
+gl_external_samplers(const struct gl_program *prog);
+
+
#ifdef __cplusplus
} /* extern "C" */
#endif