X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fprogram%2Fprogram_parser.h;h=ca36bb6dc77b7af1f919b6bf4b06d14208055a7d;hb=135b7e72601ab0c3923cafedcd30bb505e54f624;hp=d689eef7958c25d045366f5b275c40623207a7b1;hpb=0072acd447dc6be652e63752e50215c3105322c8;p=mesa.git diff --git a/src/mesa/program/program_parser.h b/src/mesa/program/program_parser.h index d689eef7958..ca36bb6dc77 100644 --- a/src/mesa/program/program_parser.h +++ b/src/mesa/program/program_parser.h @@ -23,6 +23,7 @@ #pragma once #include "main/config.h" +#include "program/prog_parameter.h" struct gl_context; @@ -96,7 +97,7 @@ struct asm_symbol { struct asm_vector { unsigned count; - float data[4]; + gl_constant_value data[4]; }; @@ -173,6 +174,7 @@ struct asm_parser_state { unsigned MaxClipPlanes; unsigned MaxLights; unsigned MaxProgramMatrices; + unsigned MaxDrawBuffers; /*@}*/ /** @@ -189,7 +191,7 @@ struct asm_parser_state { * multiple ATTRIB statements bind illegal combinations of vertex * attributes. */ - unsigned InputsBound; + GLbitfield64 InputsBound; enum { invalid_mode = 0, @@ -212,6 +214,7 @@ struct asm_parser_state { struct { unsigned UsesKill:1; + unsigned UsesDFdy:1; } fragment; };