* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
-#pragma once
+
+#ifndef PROGRAM_PARSER_H
+#define PROGRAM_PARSER_H
#include "main/config.h"
#include "program/prog_parameter.h"
struct gl_context *ctx;
struct gl_program *prog;
+ /** Memory context to attach instructions to. */
+ void *mem_ctx;
+
/**
* Per-program target limits
*/
struct {
unsigned UsesKill:1;
- unsigned UsesDFdy:1;
} fragment;
};
const char *suffix, struct prog_instruction *inst);
/*@}*/
+
+#endif /* PROGRAM_PARSER_H */