Lines Matching refs:add_const
409 ir_variable *add_const(const char *name, int value);
587 builtin_variable_generator::add_const(const char *name, int value) in add_const() function in __anon72aa8a280111::builtin_variable_generator
620 add_const("gl_MaxVertexAttribs", state->Const.MaxVertexAttribs); in generate_constants()
621 add_const("gl_MaxVertexTextureImageUnits", in generate_constants()
623 add_const("gl_MaxCombinedTextureImageUnits", in generate_constants()
625 add_const("gl_MaxTextureImageUnits", state->Const.MaxTextureImageUnits); in generate_constants()
626 add_const("gl_MaxDrawBuffers", state->Const.MaxDrawBuffers); in generate_constants()
633 add_const("gl_MaxFragmentUniformComponents", in generate_constants()
635 add_const("gl_MaxVertexUniformComponents", in generate_constants()
640 add_const("gl_MaxVertexUniformVectors", in generate_constants()
642 add_const("gl_MaxFragmentUniformVectors", in generate_constants()
649 add_const("gl_MaxVertexOutputVectors", in generate_constants()
651 add_const("gl_MaxFragmentInputVectors", in generate_constants()
654 add_const("gl_MaxVaryingVectors", in generate_constants()
662 add_const("gl_MaxDualSourceDrawBuffersEXT", in generate_constants()
669 add_const("gl_MaxVaryingFloats", state->ctx->Const.MaxVarying * 4); in generate_constants()
679 add_const("gl_MinProgramTexelOffset", in generate_constants()
681 add_const("gl_MaxProgramTexelOffset", in generate_constants()
686 add_const("gl_MaxClipDistances", state->Const.MaxClipPlanes); in generate_constants()
689 add_const("gl_MaxVaryingComponents", state->ctx->Const.MaxVarying * 4); in generate_constants()
692 add_const("gl_MaxCullDistances", state->Const.MaxClipPlanes); in generate_constants()
693 add_const("gl_MaxCombinedClipAndCullDistances", in generate_constants()
698 add_const("gl_MaxVertexOutputComponents", in generate_constants()
700 add_const("gl_MaxGeometryInputComponents", in generate_constants()
702 add_const("gl_MaxGeometryOutputComponents", in generate_constants()
704 add_const("gl_MaxFragmentInputComponents", in generate_constants()
706 add_const("gl_MaxGeometryTextureImageUnits", in generate_constants()
708 add_const("gl_MaxGeometryOutputVertices", in generate_constants()
710 add_const("gl_MaxGeometryTotalOutputComponents", in generate_constants()
712 add_const("gl_MaxGeometryUniformComponents", in generate_constants()
724 add_const("gl_MaxGeometryVaryingComponents", in generate_constants()
734 add_const("gl_MaxLights", state->Const.MaxLights); in generate_constants()
736 add_const("gl_MaxClipPlanes", state->Const.MaxClipPlanes); in generate_constants()
741 add_const("gl_MaxTextureUnits", state->Const.MaxTextureUnits); in generate_constants()
747 add_const("gl_MaxTextureCoords", state->Const.MaxTextureCoords); in generate_constants()
751 add_const("gl_MaxVertexAtomicCounters", in generate_constants()
753 add_const("gl_MaxFragmentAtomicCounters", in generate_constants()
755 add_const("gl_MaxCombinedAtomicCounters", in generate_constants()
757 add_const("gl_MaxAtomicCounterBindings", in generate_constants()
761 add_const("gl_MaxGeometryAtomicCounters", in generate_constants()
765 add_const("gl_MaxTessControlAtomicCounters", in generate_constants()
767 add_const("gl_MaxTessEvaluationAtomicCounters", in generate_constants()
773 add_const("gl_MaxVertexAtomicCounterBuffers", in generate_constants()
775 add_const("gl_MaxFragmentAtomicCounterBuffers", in generate_constants()
777 add_const("gl_MaxCombinedAtomicCounterBuffers", in generate_constants()
779 add_const("gl_MaxAtomicCounterBufferSize", in generate_constants()
783 add_const("gl_MaxGeometryAtomicCounterBuffers", in generate_constants()
787 add_const("gl_MaxTessControlAtomicCounterBuffers", in generate_constants()
789 add_const("gl_MaxTessEvaluationAtomicCounterBuffers", in generate_constants()
795 add_const("gl_MaxComputeAtomicCounterBuffers", in generate_constants()
797 add_const("gl_MaxComputeAtomicCounters", in generate_constants()
799 add_const("gl_MaxComputeImageUniforms", in generate_constants()
801 add_const("gl_MaxComputeTextureImageUnits", in generate_constants()
803 add_const("gl_MaxComputeUniformComponents", in generate_constants()
837 add_const("gl_MaxTransformFeedbackBuffers", in generate_constants()
839 add_const("gl_MaxTransformFeedbackInterleavedComponents", in generate_constants()
844 add_const("gl_MaxImageUnits", in generate_constants()
846 add_const("gl_MaxVertexImageUniforms", in generate_constants()
848 add_const("gl_MaxFragmentImageUniforms", in generate_constants()
850 add_const("gl_MaxCombinedImageUniforms", in generate_constants()
854 add_const("gl_MaxGeometryImageUniforms", in generate_constants()
859 add_const("gl_MaxCombinedImageUnitsAndFragmentOutputs", in generate_constants()
861 add_const("gl_MaxImageSamples", in generate_constants()
866 add_const("gl_MaxTessControlImageUniforms", in generate_constants()
868 add_const("gl_MaxTessEvaluationImageUniforms", in generate_constants()
875 add_const("gl_MaxCombinedShaderOutputResources", in generate_constants()
882 add_const("gl_MaxViewports", state->Const.MaxViewports); in generate_constants()
885 add_const("gl_MaxPatchVertices", state->Const.MaxPatchVertices); in generate_constants()
886 add_const("gl_MaxTessGenLevel", state->Const.MaxTessGenLevel); in generate_constants()
887 add_const("gl_MaxTessControlInputComponents", state->Const.MaxTessControlInputComponents); in generate_constants()
888 add_const("gl_MaxTessControlOutputComponents", state->Const.MaxTessControlOutputComponents); in generate_constants()
889 add_const("gl_MaxTessControlTextureImageUnits", state->Const.MaxTessControlTextureImageUnits); in generate_constants()
890 … add_const("gl_MaxTessEvaluationInputComponents", state->Const.MaxTessEvaluationInputComponents); in generate_constants()
891 … add_const("gl_MaxTessEvaluationOutputComponents", state->Const.MaxTessEvaluationOutputComponents); in generate_constants()
892 …add_const("gl_MaxTessEvaluationTextureImageUnits", state->Const.MaxTessEvaluationTextureImageUnits… in generate_constants()
893 add_const("gl_MaxTessPatchComponents", state->Const.MaxTessPatchComponents); in generate_constants()
894 …add_const("gl_MaxTessControlTotalOutputComponents", state->Const.MaxTessControlTotalOutputComponen… in generate_constants()
895 add_const("gl_MaxTessControlUniformComponents", state->Const.MaxTessControlUniformComponents); in generate_constants()
896 …add_const("gl_MaxTessEvaluationUniformComponents", state->Const.MaxTessEvaluationUniformComponents… in generate_constants()
902 add_const("gl_MaxSamples", state->Const.MaxSamples); in generate_constants()