Functions | |
| n programs n | if (program_target==0x10) frag_program_1_0.emit FRAGMENT_PROGRAM.emit 0x01.emit 0x00.or\n" ".if(program_target |
Variables | |
| n syntax | program |
| n emtcode REVISION n emtcode FRAGMENT_PROGRAM n emtcode VERTEX_PROGRAM n emtcode OPTION n emtcode INSTRUCTION n emtcode DECLARATION n emtcode END n emtcode ARB_PRECISION_HINT_FASTEST n emtcode ARB_PRECISION_HINT_NICEST n emtcode ARB_FOG_EXP n emtcode ARB_FOG_EXP2 n emtcode ARB_FOG_LINEAR n emtcode ARB_POSITION_INVARIANT n emtcode ARB_FRAGMENT_PROGRAM_SHADOW n emtcode ARB_DRAW_BUFFERS n emtcode MESA_TEXTURE_ARRAY n emtcode OP_ALU_INST n emtcode OP_TEX_INST n emtcode OP_ALU_VECTOR n emtcode OP_ALU_SCALAR n emtcode OP_ALU_BINSC n emtcode OP_ALU_BIN n emtcode OP_ALU_TRI n emtcode OP_ALU_SWZ n emtcode OP_TEX_SAMPLE n emtcode OP_TEX_KIL n emtcode OP_ALU_ARL n emtcode OP_ABS n emtcode OP_ABS_SAT n emtcode OP_FLR n emtcode OP_FLR_SAT n emtcode OP_FRC n emtcode OP_FRC_SAT n emtcode OP_LIT n emtcode OP_LIT_SAT n emtcode OP_MOV n emtcode OP_MOV_SAT n emtcode OP_COS n emtcode OP_COS_SAT n emtcode OP_EX2 n emtcode OP_EX2_SAT n emtcode OP_LG2 n emtcode OP_LG2_SAT n emtcode OP_RCP n emtcode OP_RCP_SAT n emtcode OP_RSQ n emtcode OP_RSQ_SAT n emtcode OP_SIN n emtcode OP_SIN_SAT n emtcode OP_SCS n emtcode OP_SCS_SAT n emtcode OP_POW n emtcode OP_POW_SAT n emtcode OP_ADD n emtcode OP_ADD_SAT n emtcode OP_DP3 n emtcode OP_DP3_SAT n emtcode OP_DP4 n emtcode OP_DP4_SAT n emtcode OP_DPH n emtcode OP_DPH_SAT n emtcode OP_DST n emtcode OP_DST_SAT n emtcode OP_MAX n emtcode OP_MAX_SAT n emtcode OP_MIN n emtcode OP_MIN_SAT n emtcode OP_MUL n emtcode OP_MUL_SAT n emtcode OP_SGE n emtcode OP_SGE_SAT n emtcode OP_SLT n emtcode OP_SLT_SAT n emtcode OP_SUB n emtcode OP_SUB_SAT n emtcode OP_XPD n emtcode OP_XPD_SAT n emtcode OP_CMP n emtcode OP_CMP_SAT n emtcode OP_LRP n emtcode OP_LRP_SAT n emtcode OP_MAD n emtcode OP_MAD_SAT n emtcode OP_SWZ n emtcode OP_SWZ_SAT n emtcode OP_TEX n emtcode OP_TEX_SAT n emtcode OP_TXB n emtcode OP_TXB_SAT n emtcode OP_TXP n emtcode OP_TXP_SAT n emtcode OP_KIL n emtcode OP_ARL n emtcode OP_EXP n emtcode OP_LOG n emtcode FRAGMENT_ATTRIB_COLOR n emtcode FRAGMENT_ATTRIB_TEXCOORD n emtcode FRAGMENT_ATTRIB_FOGCOORD n emtcode FRAGMENT_ATTRIB_POSITION n emtcode VERTEX_ATTRIB_POSITION n emtcode VERTEX_ATTRIB_WEIGHT n emtcode VERTEX_ATTRIB_NORMAL n emtcode VERTEX_ATTRIB_COLOR n emtcode VERTEX_ATTRIB_FOGCOORD n emtcode VERTEX_ATTRIB_TEXCOORD n emtcode VERTEX_ATTRIB_MATRIXINDEX n emtcode VERTEX_ATTRIB_GENERIC n emtcode FRAGMENT_RESULT_COLOR n emtcode FRAGMENT_RESULT_DEPTH n emtcode VERTEX_RESULT_POSITION n emtcode VERTEX_RESULT_COLOR n emtcode VERTEX_RESULT_FOGCOORD n emtcode VERTEX_RESULT_POINTSIZE n emtcode VERTEX_RESULT_TEXCOORD n emtcode TEXTARGET_1D n emtcode TEXTARGET_2D n emtcode TEXTARGET_3D n emtcode TEXTARGET_RECT n emtcode TEXTARGET_CUBE n emtcode TEXTARGET_SHADOW1D n emtcode TEXTARGET_SHADOW2D n emtcode TEXTARGET_SHADOWRECT n emtcode TEXTARGET_1D_ARRAY n emtcode TEXTARGET_2D_ARRAY n emtcode TEXTARGET_SHADOW1D_ARRAY n emtcode TEXTARGET_SHADOW2D_ARRAY n emtcode FACE_FRONT n emtcode FACE_BACK n emtcode COLOR_PRIMARY n emtcode COLOR_SECONDARY n emtcode COMPONENT_X n emtcode COMPONENT_Y n emtcode COMPONENT_Z n emtcode COMPONENT_W n emtcode COMPONENT_0 n emtcode COMPONENT_1 n emtcode ARRAY_INDEX_ABSOLUTE n emtcode ARRAY_INDEX_RELATIVE n emtcode MATRIX_MODELVIEW n emtcode MATRIX_PROJECTION n emtcode MATRIX_MVP n emtcode MATRIX_TEXTURE n emtcode MATRIX_PALETTE n emtcode MATRIX_PROGRAM n emtcode MATRIX_MODIFIER_IDENTITY n emtcode MATRIX_MODIFIER_INVERSE n emtcode MATRIX_MODIFIER_TRANSPOSE n emtcode MATRIX_MODIFIER_INVTRANS n emtcode CONSTANT_SCALAR n emtcode CONSTANT_VECTOR n emtcode PROGRAM_PARAM_ENV n emtcode PROGRAM_PARAM_LOCAL n emtcode REGISTER_ATTRIB n emtcode REGISTER_PARAM n emtcode REGISTER_RESULT n emtcode REGISTER_ESTABLISHED_NAME n emtcode PARAM_NULL n emtcode PARAM_ARRAY_ELEMENT n emtcode PARAM_STATE_ELEMENT n emtcode PARAM_PROGRAM_ELEMENT n emtcode PARAM_PROGRAM_ELEMENTS n emtcode PARAM_CONSTANT n emtcode STATE_MATERIAL n emtcode STATE_LIGHT n emtcode STATE_LIGHT_MODEL n emtcode STATE_LIGHT_PROD n emtcode STATE_FOG n emtcode STATE_MATRIX_ROWS n emtcode STATE_TEX_ENV n emtcode STATE_DEPTH n emtcode STATE_TEX_GEN n emtcode STATE_CLIP_PLANE n emtcode STATE_POINT n emtcode MATERIAL_AMBIENT n emtcode MATERIAL_DIFFUSE n emtcode MATERIAL_SPECULAR n emtcode MATERIAL_EMISSION n emtcode MATERIAL_SHININESS n emtcode LIGHT_AMBIENT n emtcode LIGHT_DIFFUSE n emtcode LIGHT_SPECULAR n emtcode LIGHT_POSITION n emtcode LIGHT_ATTENUATION n emtcode LIGHT_HALF n emtcode LIGHT_SPOT_DIRECTION n emtcode LIGHT_MODEL_AMBIENT n emtcode LIGHT_MODEL_SCENECOLOR n emtcode LIGHT_PROD_AMBIENT n emtcode LIGHT_PROD_DIFFUSE n emtcode LIGHT_PROD_SPECULAR n emtcode TEX_ENV_COLOR n emtcode TEX_GEN_EYE n emtcode TEX_GEN_OBJECT n emtcode FOG_COLOR n emtcode FOG_PARAMS n emtcode DEPTH_RANGE n emtcode POINT_SIZE n emtcode POINT_ATTENUATION n emtcode ATTRIB n emtcode PARAM n emtcode TEMP n emtcode OUTPUT n emtcode ALIAS n emtcode ADDRESS n errtext | UNKNOWN_PROGRAM_SIGNATURE |
| expected but $e_token found n errtext | MISSING_COMMA |
| expected but $e_token found n errtext expected but $e_token found n errtext | MISSING_LBRACKET |
| n frag_program_1_0 n and and A and R and B and f and p and and and and n optional_space and fp_optionSequence and fp_statementSequence and n END error MISSING_END_OR_INVALID_STATEMENT emit END and optional_space and n error | CODE_AFTER_END |
| n fp_optionSequence n loop | fp_option |
| n vp_optionSequence n loop | vp_option |
| n fp_option n OPTION emit OPTION and space error IDENTIFIER_EXPECTED and n fp_optionString error INVALID_PROGRAM_OPTION and | semicolon |
| n programs n if | ( | program_target | = =0x10 |
) |
| n vert_program_1_0 n and and A and R and B and v and p and and and and n optional_space and vp_optionSequence and vp_statementSequence and n END error MISSING_END_OR_INVALID_STATEMENT emit END and optional_space and n error CODE_AFTER_END |
| n fp_optionSequence n loop fp_option |
| expected but $e_token found n errtext MISSING_COMMA |
| expected but $e_token found n errtext expected but $e_token found n errtext MISSING_LBRACKET |
| n syntax program |
| n vp_option n OPTION emit OPTION and space error IDENTIFIER_EXPECTED and n vp_optionString error INVALID_PROGRAM_OPTION and semicolon |
| n emtcode REVISION n emtcode FRAGMENT_PROGRAM n emtcode VERTEX_PROGRAM n emtcode OPTION n emtcode INSTRUCTION n emtcode DECLARATION n emtcode END n emtcode ARB_PRECISION_HINT_FASTEST n emtcode ARB_PRECISION_HINT_NICEST n emtcode ARB_FOG_EXP n emtcode ARB_FOG_EXP2 n emtcode ARB_FOG_LINEAR n emtcode ARB_POSITION_INVARIANT n emtcode ARB_FRAGMENT_PROGRAM_SHADOW n emtcode ARB_DRAW_BUFFERS n emtcode MESA_TEXTURE_ARRAY n emtcode OP_ALU_INST n emtcode OP_TEX_INST n emtcode OP_ALU_VECTOR n emtcode OP_ALU_SCALAR n emtcode OP_ALU_BINSC n emtcode OP_ALU_BIN n emtcode OP_ALU_TRI n emtcode OP_ALU_SWZ n emtcode OP_TEX_SAMPLE n emtcode OP_TEX_KIL n emtcode OP_ALU_ARL n emtcode OP_ABS n emtcode OP_ABS_SAT n emtcode OP_FLR n emtcode OP_FLR_SAT n emtcode OP_FRC n emtcode OP_FRC_SAT n emtcode OP_LIT n emtcode OP_LIT_SAT n emtcode OP_MOV n emtcode OP_MOV_SAT n emtcode OP_COS n emtcode OP_COS_SAT n emtcode OP_EX2 n emtcode OP_EX2_SAT n emtcode OP_LG2 n emtcode OP_LG2_SAT n emtcode OP_RCP n emtcode OP_RCP_SAT n emtcode OP_RSQ n emtcode OP_RSQ_SAT n emtcode OP_SIN n emtcode OP_SIN_SAT n emtcode OP_SCS n emtcode OP_SCS_SAT n emtcode OP_POW n emtcode OP_POW_SAT n emtcode OP_ADD n emtcode OP_ADD_SAT n emtcode OP_DP3 n emtcode OP_DP3_SAT n emtcode OP_DP4 n emtcode OP_DP4_SAT n emtcode OP_DPH n emtcode OP_DPH_SAT n emtcode OP_DST n emtcode OP_DST_SAT n emtcode OP_MAX n emtcode OP_MAX_SAT n emtcode OP_MIN n emtcode OP_MIN_SAT n emtcode OP_MUL n emtcode OP_MUL_SAT n emtcode OP_SGE n emtcode OP_SGE_SAT n emtcode OP_SLT n emtcode OP_SLT_SAT n emtcode OP_SUB n emtcode OP_SUB_SAT n emtcode OP_XPD n emtcode OP_XPD_SAT n emtcode OP_CMP n emtcode OP_CMP_SAT n emtcode OP_LRP n emtcode OP_LRP_SAT n emtcode OP_MAD n emtcode OP_MAD_SAT n emtcode OP_SWZ n emtcode OP_SWZ_SAT n emtcode OP_TEX n emtcode OP_TEX_SAT n emtcode OP_TXB n emtcode OP_TXB_SAT n emtcode OP_TXP n emtcode OP_TXP_SAT n emtcode OP_KIL n emtcode OP_ARL n emtcode OP_EXP n emtcode OP_LOG n emtcode FRAGMENT_ATTRIB_COLOR n emtcode FRAGMENT_ATTRIB_TEXCOORD n emtcode FRAGMENT_ATTRIB_FOGCOORD n emtcode FRAGMENT_ATTRIB_POSITION n emtcode VERTEX_ATTRIB_POSITION n emtcode VERTEX_ATTRIB_WEIGHT n emtcode VERTEX_ATTRIB_NORMAL n emtcode VERTEX_ATTRIB_COLOR n emtcode VERTEX_ATTRIB_FOGCOORD n emtcode VERTEX_ATTRIB_TEXCOORD n emtcode VERTEX_ATTRIB_MATRIXINDEX n emtcode VERTEX_ATTRIB_GENERIC n emtcode FRAGMENT_RESULT_COLOR n emtcode FRAGMENT_RESULT_DEPTH n emtcode VERTEX_RESULT_POSITION n emtcode VERTEX_RESULT_COLOR n emtcode VERTEX_RESULT_FOGCOORD n emtcode VERTEX_RESULT_POINTSIZE n emtcode VERTEX_RESULT_TEXCOORD n emtcode TEXTARGET_1D n emtcode TEXTARGET_2D n emtcode TEXTARGET_3D n emtcode TEXTARGET_RECT n emtcode TEXTARGET_CUBE n emtcode TEXTARGET_SHADOW1D n emtcode TEXTARGET_SHADOW2D n emtcode TEXTARGET_SHADOWRECT n emtcode TEXTARGET_1D_ARRAY n emtcode TEXTARGET_2D_ARRAY n emtcode TEXTARGET_SHADOW1D_ARRAY n emtcode TEXTARGET_SHADOW2D_ARRAY n emtcode FACE_FRONT n emtcode FACE_BACK n emtcode COLOR_PRIMARY n emtcode COLOR_SECONDARY n emtcode COMPONENT_X n emtcode COMPONENT_Y n emtcode COMPONENT_Z n emtcode COMPONENT_W n emtcode COMPONENT_0 n emtcode COMPONENT_1 n emtcode ARRAY_INDEX_ABSOLUTE n emtcode ARRAY_INDEX_RELATIVE n emtcode MATRIX_MODELVIEW n emtcode MATRIX_PROJECTION n emtcode MATRIX_MVP n emtcode MATRIX_TEXTURE n emtcode MATRIX_PALETTE n emtcode MATRIX_PROGRAM n emtcode MATRIX_MODIFIER_IDENTITY n emtcode MATRIX_MODIFIER_INVERSE n emtcode MATRIX_MODIFIER_TRANSPOSE n emtcode MATRIX_MODIFIER_INVTRANS n emtcode CONSTANT_SCALAR n emtcode CONSTANT_VECTOR n emtcode PROGRAM_PARAM_ENV n emtcode PROGRAM_PARAM_LOCAL n emtcode REGISTER_ATTRIB n emtcode REGISTER_PARAM n emtcode REGISTER_RESULT n emtcode REGISTER_ESTABLISHED_NAME n emtcode PARAM_NULL n emtcode PARAM_ARRAY_ELEMENT n emtcode PARAM_STATE_ELEMENT n emtcode PARAM_PROGRAM_ELEMENT n emtcode PARAM_PROGRAM_ELEMENTS n emtcode PARAM_CONSTANT n emtcode STATE_MATERIAL n emtcode STATE_LIGHT n emtcode STATE_LIGHT_MODEL n emtcode STATE_LIGHT_PROD n emtcode STATE_FOG n emtcode STATE_MATRIX_ROWS n emtcode STATE_TEX_ENV n emtcode STATE_DEPTH n emtcode STATE_TEX_GEN n emtcode STATE_CLIP_PLANE n emtcode STATE_POINT n emtcode MATERIAL_AMBIENT n emtcode MATERIAL_DIFFUSE n emtcode MATERIAL_SPECULAR n emtcode MATERIAL_EMISSION n emtcode MATERIAL_SHININESS n emtcode LIGHT_AMBIENT n emtcode LIGHT_DIFFUSE n emtcode LIGHT_SPECULAR n emtcode LIGHT_POSITION n emtcode LIGHT_ATTENUATION n emtcode LIGHT_HALF n emtcode LIGHT_SPOT_DIRECTION n emtcode LIGHT_MODEL_AMBIENT n emtcode LIGHT_MODEL_SCENECOLOR n emtcode LIGHT_PROD_AMBIENT n emtcode LIGHT_PROD_DIFFUSE n emtcode LIGHT_PROD_SPECULAR n emtcode TEX_ENV_COLOR n emtcode TEX_GEN_EYE n emtcode TEX_GEN_OBJECT n emtcode FOG_COLOR n emtcode FOG_PARAMS n emtcode DEPTH_RANGE n emtcode POINT_SIZE n emtcode POINT_ATTENUATION n emtcode ATTRIB n emtcode PARAM n emtcode TEMP n emtcode OUTPUT n emtcode ALIAS n emtcode ADDRESS n errtext UNKNOWN_PROGRAM_SIGNATURE |
| n vp_optionSequence n loop vp_option |
1.5.4