Lines Matching refs:add_const
499 ir_variable *add_const(const char *name, int precision, int value);
500 ir_variable *add_const(const char *name, int value) in add_const() function in __anon217c19b00111::builtin_variable_generator
502 return add_const(name, GLSL_PRECISION_MEDIUM, value); in add_const()
695 builtin_variable_generator::add_const(const char *name, int precision, in add_const() function in __anon217c19b00111::builtin_variable_generator
730 add_const("gl_MaxVertexAttribs", state->Const.MaxVertexAttribs); in generate_constants()
731 add_const("gl_MaxVertexTextureImageUnits", in generate_constants()
733 add_const("gl_MaxCombinedTextureImageUnits", in generate_constants()
735 add_const("gl_MaxTextureImageUnits", state->Const.MaxTextureImageUnits); in generate_constants()
736 add_const("gl_MaxDrawBuffers", state->Const.MaxDrawBuffers); in generate_constants()
743 add_const("gl_MaxFragmentUniformComponents", in generate_constants()
745 add_const("gl_MaxVertexUniformComponents", in generate_constants()
750 add_const("gl_MaxVertexUniformVectors", in generate_constants()
752 add_const("gl_MaxFragmentUniformVectors", in generate_constants()
759 add_const("gl_MaxVertexOutputVectors", in generate_constants()
761 add_const("gl_MaxFragmentInputVectors", in generate_constants()
764 add_const("gl_MaxVaryingVectors", in generate_constants()
772 add_const("gl_MaxDualSourceDrawBuffersEXT", in generate_constants()
781 add_const("gl_MaxVaryingFloats", state->ctx->Const.MaxVarying * 4); in generate_constants()
791 add_const("gl_MinProgramTexelOffset", in generate_constants()
793 add_const("gl_MaxProgramTexelOffset", in generate_constants()
798 add_const("gl_MaxClipDistances", state->Const.MaxClipPlanes); in generate_constants()
801 add_const("gl_MaxVaryingComponents", state->ctx->Const.MaxVarying * 4); in generate_constants()
804 add_const("gl_MaxCullDistances", state->Const.MaxClipPlanes); in generate_constants()
805 add_const("gl_MaxCombinedClipAndCullDistances", in generate_constants()
810 add_const("gl_MaxVertexOutputComponents", in generate_constants()
812 add_const("gl_MaxGeometryInputComponents", in generate_constants()
814 add_const("gl_MaxGeometryOutputComponents", in generate_constants()
816 add_const("gl_MaxFragmentInputComponents", in generate_constants()
818 add_const("gl_MaxGeometryTextureImageUnits", in generate_constants()
820 add_const("gl_MaxGeometryOutputVertices", in generate_constants()
822 add_const("gl_MaxGeometryTotalOutputComponents", in generate_constants()
824 add_const("gl_MaxGeometryUniformComponents", in generate_constants()
836 add_const("gl_MaxGeometryVaryingComponents", in generate_constants()
846 add_const("gl_MaxLights", state->Const.MaxLights); in generate_constants()
848 add_const("gl_MaxClipPlanes", state->Const.MaxClipPlanes); in generate_constants()
853 add_const("gl_MaxTextureUnits", state->Const.MaxTextureUnits); in generate_constants()
859 add_const("gl_MaxTextureCoords", state->Const.MaxTextureCoords); in generate_constants()
863 add_const("gl_MaxVertexAtomicCounters", in generate_constants()
865 add_const("gl_MaxFragmentAtomicCounters", in generate_constants()
867 add_const("gl_MaxCombinedAtomicCounters", in generate_constants()
869 add_const("gl_MaxAtomicCounterBindings", in generate_constants()
873 add_const("gl_MaxGeometryAtomicCounters", in generate_constants()
877 add_const("gl_MaxTessControlAtomicCounters", in generate_constants()
879 add_const("gl_MaxTessEvaluationAtomicCounters", in generate_constants()
885 add_const("gl_MaxVertexAtomicCounterBuffers", in generate_constants()
887 add_const("gl_MaxFragmentAtomicCounterBuffers", in generate_constants()
889 add_const("gl_MaxCombinedAtomicCounterBuffers", in generate_constants()
891 add_const("gl_MaxAtomicCounterBufferSize", in generate_constants()
895 add_const("gl_MaxGeometryAtomicCounterBuffers", in generate_constants()
899 add_const("gl_MaxTessControlAtomicCounterBuffers", in generate_constants()
901 add_const("gl_MaxTessEvaluationAtomicCounterBuffers", in generate_constants()
907 add_const("gl_MaxComputeAtomicCounterBuffers", in generate_constants()
909 add_const("gl_MaxComputeAtomicCounters", in generate_constants()
911 add_const("gl_MaxComputeImageUniforms", in generate_constants()
913 add_const("gl_MaxComputeTextureImageUnits", in generate_constants()
915 add_const("gl_MaxComputeUniformComponents", in generate_constants()
949 add_const("gl_MaxTransformFeedbackBuffers", in generate_constants()
951 add_const("gl_MaxTransformFeedbackInterleavedComponents", in generate_constants()
956 add_const("gl_MaxImageUnits", in generate_constants()
958 add_const("gl_MaxVertexImageUniforms", in generate_constants()
960 add_const("gl_MaxFragmentImageUniforms", in generate_constants()
962 add_const("gl_MaxCombinedImageUniforms", in generate_constants()
966 add_const("gl_MaxGeometryImageUniforms", in generate_constants()
971 add_const("gl_MaxCombinedImageUnitsAndFragmentOutputs", in generate_constants()
973 add_const("gl_MaxImageSamples", in generate_constants()
978 add_const("gl_MaxTessControlImageUniforms", in generate_constants()
980 add_const("gl_MaxTessEvaluationImageUniforms", in generate_constants()
987 add_const("gl_MaxCombinedShaderOutputResources", in generate_constants()
994 add_const("gl_MaxViewports", GLSL_PRECISION_HIGH, in generate_constants()
999 add_const("gl_MaxPatchVertices", state->Const.MaxPatchVertices); in generate_constants()
1000 add_const("gl_MaxTessGenLevel", state->Const.MaxTessGenLevel); in generate_constants()
1001 add_const("gl_MaxTessControlInputComponents", state->Const.MaxTessControlInputComponents); in generate_constants()
1002 add_const("gl_MaxTessControlOutputComponents", state->Const.MaxTessControlOutputComponents); in generate_constants()
1003 add_const("gl_MaxTessControlTextureImageUnits", state->Const.MaxTessControlTextureImageUnits); in generate_constants()
1004 … add_const("gl_MaxTessEvaluationInputComponents", state->Const.MaxTessEvaluationInputComponents); in generate_constants()
1005 … add_const("gl_MaxTessEvaluationOutputComponents", state->Const.MaxTessEvaluationOutputComponents); in generate_constants()
1006 …add_const("gl_MaxTessEvaluationTextureImageUnits", state->Const.MaxTessEvaluationTextureImageUnits… in generate_constants()
1007 add_const("gl_MaxTessPatchComponents", state->Const.MaxTessPatchComponents); in generate_constants()
1008 …add_const("gl_MaxTessControlTotalOutputComponents", state->Const.MaxTessControlTotalOutputComponen… in generate_constants()
1009 add_const("gl_MaxTessControlUniformComponents", state->Const.MaxTessControlUniformComponents); in generate_constants()
1010 …add_const("gl_MaxTessEvaluationUniformComponents", state->Const.MaxTessEvaluationUniformComponents… in generate_constants()
1016 add_const("gl_MaxSamples", state->Const.MaxSamples); in generate_constants()