Lines Matching refs:Const

731    add_const("gl_MaxVertexAttribs", state->Const.MaxVertexAttribs);
733 state->Const.MaxVertexTextureImageUnits);
735 state->Const.MaxCombinedTextureImageUnits);
736 add_const("gl_MaxTextureImageUnits", state->Const.MaxTextureImageUnits);
737 add_const("gl_MaxDrawBuffers", state->Const.MaxDrawBuffers);
745 state->Const.MaxFragmentUniformComponents);
747 state->Const.MaxVertexUniformComponents);
752 state->Const.MaxVertexUniformComponents / 4);
754 state->Const.MaxFragmentUniformComponents / 4);
774 state->Const.MaxDualSourceDrawBuffers);
793 state->Const.MinProgramTexelOffset);
795 state->Const.MaxProgramTexelOffset);
799 add_const("gl_MaxClipDistances", state->Const.MaxClipPlanes);
805 add_const("gl_MaxCullDistances", state->Const.MaxClipPlanes);
807 state->Const.MaxClipPlanes);
812 state->Const.MaxVertexOutputComponents);
814 state->Const.MaxGeometryInputComponents);
816 state->Const.MaxGeometryOutputComponents);
818 state->Const.MaxFragmentInputComponents);
820 state->Const.MaxGeometryTextureImageUnits);
822 state->Const.MaxGeometryOutputVertices);
824 state->Const.MaxGeometryTotalOutputComponents);
826 state->Const.MaxGeometryUniformComponents);
838 state->Const.MaxGeometryOutputComponents);
847 add_const("gl_MaxLights", state->Const.MaxLights);
849 add_const("gl_MaxClipPlanes", state->Const.MaxClipPlanes);
854 add_const("gl_MaxTextureUnits", state->Const.MaxTextureUnits);
860 add_const("gl_MaxTextureCoords", state->Const.MaxTextureCoords);
865 state->Const.MaxVertexAtomicCounters);
867 state->Const.MaxFragmentAtomicCounters);
869 state->Const.MaxCombinedAtomicCounters);
871 state->Const.MaxAtomicBufferBindings);
875 state->Const.MaxGeometryAtomicCounters);
879 state->Const.MaxTessControlAtomicCounters);
881 state->Const.MaxTessEvaluationAtomicCounters);
887 state->Const.MaxVertexAtomicCounterBuffers);
889 state->Const.MaxFragmentAtomicCounterBuffers);
891 state->Const.MaxCombinedAtomicCounterBuffers);
893 state->Const.MaxAtomicCounterBufferSize);
897 state->Const.MaxGeometryAtomicCounterBuffers);
901 state->Const.MaxTessControlAtomicCounterBuffers);
903 state->Const.MaxTessEvaluationAtomicCounterBuffers);
909 state->Const.MaxComputeAtomicCounterBuffers);
911 state->Const.MaxComputeAtomicCounters);
913 state->Const.MaxComputeImageUniforms);
915 state->Const.MaxComputeTextureImageUnits);
917 state->Const.MaxComputeUniformComponents);
920 state->Const.MaxComputeWorkGroupCount[0],
921 state->Const.MaxComputeWorkGroupCount[1],
922 state->Const.MaxComputeWorkGroupCount[2]);
924 state->Const.MaxComputeWorkGroupSize[0],
925 state->Const.MaxComputeWorkGroupSize[1],
926 state->Const.MaxComputeWorkGroupSize[2]);
951 state->Const.MaxTransformFeedbackBuffers);
953 state->Const.MaxTransformFeedbackInterleavedComponents);
958 state->Const.MaxImageUnits);
960 state->Const.MaxVertexImageUniforms);
962 state->Const.MaxFragmentImageUniforms);
964 state->Const.MaxCombinedImageUniforms);
968 state->Const.MaxGeometryImageUniforms);
973 state->Const.MaxCombinedShaderOutputResources);
975 state->Const.MaxImageSamples);
980 state->Const.MaxTessControlImageUniforms);
982 state->Const.MaxTessEvaluationImageUniforms);
989 state->Const.MaxCombinedShaderOutputResources);
996 state->Const.MaxViewports);
1000 add_const("gl_MaxPatchVertices", state->Const.MaxPatchVertices);
1001 add_const("gl_MaxTessGenLevel", state->Const.MaxTessGenLevel);
1002 add_const("gl_MaxTessControlInputComponents", state->Const.MaxTessControlInputComponents);
1003 add_const("gl_MaxTessControlOutputComponents", state->Const.MaxTessControlOutputComponents);
1004 add_const("gl_MaxTessControlTextureImageUnits", state->Const.MaxTessControlTextureImageUnits);
1005 add_const("gl_MaxTessEvaluationInputComponents", state->Const.MaxTessEvaluationInputComponents);
1006 add_const("gl_MaxTessEvaluationOutputComponents", state->Const.MaxTessEvaluationOutputComponents);
1007 add_const("gl_MaxTessEvaluationTextureImageUnits", state->Const.MaxTessEvaluationTextureImageUnits);
1008 add_const("gl_MaxTessPatchComponents", state->Const.MaxTessPatchComponents);
1009 add_const("gl_MaxTessControlTotalOutputComponents", state->Const.MaxTessControlTotalOutputComponents);
1010 add_const("gl_MaxTessControlUniformComponents", state->Const.MaxTessControlUniformComponents);
1011 add_const("gl_MaxTessEvaluationUniformComponents", state->Const.MaxTessEvaluationUniformComponents);
1017 add_const("gl_MaxSamples", state->Const.MaxSamples);
1059 array(mat4_t, state->Const.MaxTextureCoords);
1065 add_uniform(array(vec4_t, state->Const.MaxClipPlanes), "gl_ClipPlane");
1074 state->Const.MaxLights),
1083 array(type("gl_LightProducts"), state->Const.MaxLights);
1087 add_uniform(array(vec4_t, state->Const.MaxTextureUnits),
1091 array(vec4_t, state->Const.MaxTextureCoords);
1355 array(vec4_t, state->Const.MaxDrawBuffers),
1363 array(vec4_t, state->Const.MaxDrawBuffers),
1391 array(vec4_t, state->Const.MaxDualSourceDrawBuffers),
1617 add_variable("gl_in", array(per_vertex_in_type, state->Const.MaxPatchVertices),