• Home
  • Raw
  • Download

Lines Matching refs:add_const

454    ir_variable *add_const(const char *name, int precision, int value);
455 ir_variable *add_const(const char *name, int value) in add_const() function in __anon50b65e060111::builtin_variable_generator
457 return add_const(name, GLSL_PRECISION_MEDIUM, value); in add_const()
656 builtin_variable_generator::add_const(const char *name, int precision, in add_const() function in __anon50b65e060111::builtin_variable_generator
691 add_const("gl_MaxVertexAttribs", state->Const.MaxVertexAttribs); in generate_constants()
692 add_const("gl_MaxVertexTextureImageUnits", in generate_constants()
694 add_const("gl_MaxCombinedTextureImageUnits", in generate_constants()
696 add_const("gl_MaxTextureImageUnits", state->Const.MaxTextureImageUnits); in generate_constants()
697 add_const("gl_MaxDrawBuffers", state->Const.MaxDrawBuffers); in generate_constants()
704 add_const("gl_MaxFragmentUniformComponents", in generate_constants()
706 add_const("gl_MaxVertexUniformComponents", in generate_constants()
711 add_const("gl_MaxVertexUniformVectors", in generate_constants()
713 add_const("gl_MaxFragmentUniformVectors", in generate_constants()
720 add_const("gl_MaxVertexOutputVectors", in generate_constants()
722 add_const("gl_MaxFragmentInputVectors", in generate_constants()
725 add_const("gl_MaxVaryingVectors", in generate_constants()
733 add_const("gl_MaxDualSourceDrawBuffersEXT", in generate_constants()
740 add_const("gl_MaxVaryingFloats", state->ctx->Const.MaxVarying * 4); in generate_constants()
750 add_const("gl_MinProgramTexelOffset", in generate_constants()
752 add_const("gl_MaxProgramTexelOffset", in generate_constants()
757 add_const("gl_MaxClipDistances", state->Const.MaxClipPlanes); in generate_constants()
760 add_const("gl_MaxVaryingComponents", state->ctx->Const.MaxVarying * 4); in generate_constants()
763 add_const("gl_MaxCullDistances", state->Const.MaxClipPlanes); in generate_constants()
764 add_const("gl_MaxCombinedClipAndCullDistances", in generate_constants()
769 add_const("gl_MaxVertexOutputComponents", in generate_constants()
771 add_const("gl_MaxGeometryInputComponents", in generate_constants()
773 add_const("gl_MaxGeometryOutputComponents", in generate_constants()
775 add_const("gl_MaxFragmentInputComponents", in generate_constants()
777 add_const("gl_MaxGeometryTextureImageUnits", in generate_constants()
779 add_const("gl_MaxGeometryOutputVertices", in generate_constants()
781 add_const("gl_MaxGeometryTotalOutputComponents", in generate_constants()
783 add_const("gl_MaxGeometryUniformComponents", in generate_constants()
795 add_const("gl_MaxGeometryVaryingComponents", in generate_constants()
805 add_const("gl_MaxLights", state->Const.MaxLights); in generate_constants()
807 add_const("gl_MaxClipPlanes", state->Const.MaxClipPlanes); in generate_constants()
812 add_const("gl_MaxTextureUnits", state->Const.MaxTextureUnits); in generate_constants()
818 add_const("gl_MaxTextureCoords", state->Const.MaxTextureCoords); in generate_constants()
822 add_const("gl_MaxVertexAtomicCounters", in generate_constants()
824 add_const("gl_MaxFragmentAtomicCounters", in generate_constants()
826 add_const("gl_MaxCombinedAtomicCounters", in generate_constants()
828 add_const("gl_MaxAtomicCounterBindings", in generate_constants()
832 add_const("gl_MaxGeometryAtomicCounters", in generate_constants()
836 add_const("gl_MaxTessControlAtomicCounters", in generate_constants()
838 add_const("gl_MaxTessEvaluationAtomicCounters", in generate_constants()
844 add_const("gl_MaxVertexAtomicCounterBuffers", in generate_constants()
846 add_const("gl_MaxFragmentAtomicCounterBuffers", in generate_constants()
848 add_const("gl_MaxCombinedAtomicCounterBuffers", in generate_constants()
850 add_const("gl_MaxAtomicCounterBufferSize", in generate_constants()
854 add_const("gl_MaxGeometryAtomicCounterBuffers", in generate_constants()
858 add_const("gl_MaxTessControlAtomicCounterBuffers", in generate_constants()
860 add_const("gl_MaxTessEvaluationAtomicCounterBuffers", in generate_constants()
866 add_const("gl_MaxComputeAtomicCounterBuffers", in generate_constants()
868 add_const("gl_MaxComputeAtomicCounters", in generate_constants()
870 add_const("gl_MaxComputeImageUniforms", in generate_constants()
872 add_const("gl_MaxComputeTextureImageUnits", in generate_constants()
874 add_const("gl_MaxComputeUniformComponents", in generate_constants()
908 add_const("gl_MaxTransformFeedbackBuffers", in generate_constants()
910 add_const("gl_MaxTransformFeedbackInterleavedComponents", in generate_constants()
915 add_const("gl_MaxImageUnits", in generate_constants()
917 add_const("gl_MaxVertexImageUniforms", in generate_constants()
919 add_const("gl_MaxFragmentImageUniforms", in generate_constants()
921 add_const("gl_MaxCombinedImageUniforms", in generate_constants()
925 add_const("gl_MaxGeometryImageUniforms", in generate_constants()
930 add_const("gl_MaxCombinedImageUnitsAndFragmentOutputs", in generate_constants()
932 add_const("gl_MaxImageSamples", in generate_constants()
937 add_const("gl_MaxTessControlImageUniforms", in generate_constants()
939 add_const("gl_MaxTessEvaluationImageUniforms", in generate_constants()
946 add_const("gl_MaxCombinedShaderOutputResources", in generate_constants()
953 add_const("gl_MaxViewports", GLSL_PRECISION_HIGH, in generate_constants()
958 add_const("gl_MaxPatchVertices", state->Const.MaxPatchVertices); in generate_constants()
959 add_const("gl_MaxTessGenLevel", state->Const.MaxTessGenLevel); in generate_constants()
960 add_const("gl_MaxTessControlInputComponents", state->Const.MaxTessControlInputComponents); in generate_constants()
961 add_const("gl_MaxTessControlOutputComponents", state->Const.MaxTessControlOutputComponents); in generate_constants()
962 add_const("gl_MaxTessControlTextureImageUnits", state->Const.MaxTessControlTextureImageUnits); in generate_constants()
963add_const("gl_MaxTessEvaluationInputComponents", state->Const.MaxTessEvaluationInputComponents); in generate_constants()
964add_const("gl_MaxTessEvaluationOutputComponents", state->Const.MaxTessEvaluationOutputComponents); in generate_constants()
965add_const("gl_MaxTessEvaluationTextureImageUnits", state->Const.MaxTessEvaluationTextureImageUnits… in generate_constants()
966 add_const("gl_MaxTessPatchComponents", state->Const.MaxTessPatchComponents); in generate_constants()
967add_const("gl_MaxTessControlTotalOutputComponents", state->Const.MaxTessControlTotalOutputComponen… in generate_constants()
968 add_const("gl_MaxTessControlUniformComponents", state->Const.MaxTessControlUniformComponents); in generate_constants()
969add_const("gl_MaxTessEvaluationUniformComponents", state->Const.MaxTessEvaluationUniformComponents… in generate_constants()
975 add_const("gl_MaxSamples", state->Const.MaxSamples); in generate_constants()