Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenarbprogram_syn.h
Go to the documentation of this file.
00001 00002 /* DO NOT EDIT - THIS FILE IS AUTOMATICALLY GENERATED FROM THE .syn FILE */ 00003 00004 " \n" 00005 ".syntax program;\n" 00006 ".emtcode REVISION 0x0a\n" 00007 ".emtcode FRAGMENT_PROGRAM 0x01\n" 00008 ".emtcode VERTEX_PROGRAM 0x02\n" 00009 ".emtcode OPTION 0x01\n" 00010 ".emtcode INSTRUCTION 0x02\n" 00011 ".emtcode DECLARATION 0x03\n" 00012 ".emtcode END 0x04\n" 00013 ".emtcode ARB_PRECISION_HINT_FASTEST 0x00\n" 00014 ".emtcode ARB_PRECISION_HINT_NICEST 0x01\n" 00015 ".emtcode ARB_FOG_EXP 0x02\n" 00016 ".emtcode ARB_FOG_EXP2 0x03\n" 00017 ".emtcode ARB_FOG_LINEAR 0x04\n" 00018 ".emtcode ARB_POSITION_INVARIANT 0x05\n" 00019 ".emtcode ARB_FRAGMENT_PROGRAM_SHADOW 0x06\n" 00020 ".emtcode ARB_DRAW_BUFFERS 0x07\n" 00021 ".emtcode MESA_TEXTURE_ARRAY 0x08\n" 00022 ".emtcode OP_ALU_INST 0x00\n" 00023 ".emtcode OP_TEX_INST 0x01\n" 00024 ".emtcode OP_ALU_VECTOR 0x00\n" 00025 ".emtcode OP_ALU_SCALAR 0x01\n" 00026 ".emtcode OP_ALU_BINSC 0x02\n" 00027 ".emtcode OP_ALU_BIN 0x03\n" 00028 ".emtcode OP_ALU_TRI 0x04\n" 00029 ".emtcode OP_ALU_SWZ 0x05\n" 00030 ".emtcode OP_TEX_SAMPLE 0x06\n" 00031 ".emtcode OP_TEX_KIL 0x07\n" 00032 ".emtcode OP_ALU_ARL 0x08\n" 00033 ".emtcode OP_ABS 0x00\n" 00034 ".emtcode OP_ABS_SAT 0x1B\n" 00035 ".emtcode OP_FLR 0x09\n" 00036 ".emtcode OP_FLR_SAT 0x26\n" 00037 ".emtcode OP_FRC 0x0A\n" 00038 ".emtcode OP_FRC_SAT 0x27\n" 00039 ".emtcode OP_LIT 0x0C\n" 00040 ".emtcode OP_LIT_SAT 0x2A\n" 00041 ".emtcode OP_MOV 0x11\n" 00042 ".emtcode OP_MOV_SAT 0x30\n" 00043 ".emtcode OP_COS 0x1F\n" 00044 ".emtcode OP_COS_SAT 0x20\n" 00045 ".emtcode OP_EX2 0x07\n" 00046 ".emtcode OP_EX2_SAT 0x25\n" 00047 ".emtcode OP_LG2 0x0B\n" 00048 ".emtcode OP_LG2_SAT 0x29\n" 00049 ".emtcode OP_RCP 0x14\n" 00050 ".emtcode OP_RCP_SAT 0x33\n" 00051 ".emtcode OP_RSQ 0x15\n" 00052 ".emtcode OP_RSQ_SAT 0x34\n" 00053 ".emtcode OP_SIN 0x38\n" 00054 ".emtcode OP_SIN_SAT 0x39\n" 00055 ".emtcode OP_SCS 0x35\n" 00056 ".emtcode OP_SCS_SAT 0x36\n" 00057 ".emtcode OP_POW 0x13\n" 00058 ".emtcode OP_POW_SAT 0x32\n" 00059 ".emtcode OP_ADD 0x01\n" 00060 ".emtcode OP_ADD_SAT 0x1C\n" 00061 ".emtcode OP_DP3 0x03\n" 00062 ".emtcode OP_DP3_SAT 0x21\n" 00063 ".emtcode OP_DP4 0x04\n" 00064 ".emtcode OP_DP4_SAT 0x22\n" 00065 ".emtcode OP_DPH 0x05\n" 00066 ".emtcode OP_DPH_SAT 0x23\n" 00067 ".emtcode OP_DST 0x06\n" 00068 ".emtcode OP_DST_SAT 0x24\n" 00069 ".emtcode OP_MAX 0x0F\n" 00070 ".emtcode OP_MAX_SAT 0x2E\n" 00071 ".emtcode OP_MIN 0x10\n" 00072 ".emtcode OP_MIN_SAT 0x2F\n" 00073 ".emtcode OP_MUL 0x12\n" 00074 ".emtcode OP_MUL_SAT 0x31\n" 00075 ".emtcode OP_SGE 0x16\n" 00076 ".emtcode OP_SGE_SAT 0x37\n" 00077 ".emtcode OP_SLT 0x17\n" 00078 ".emtcode OP_SLT_SAT 0x3A\n" 00079 ".emtcode OP_SUB 0x18\n" 00080 ".emtcode OP_SUB_SAT 0x3B\n" 00081 ".emtcode OP_XPD 0x1A\n" 00082 ".emtcode OP_XPD_SAT 0x43\n" 00083 ".emtcode OP_CMP 0x1D\n" 00084 ".emtcode OP_CMP_SAT 0x1E\n" 00085 ".emtcode OP_LRP 0x2B\n" 00086 ".emtcode OP_LRP_SAT 0x2C\n" 00087 ".emtcode OP_MAD 0x0E\n" 00088 ".emtcode OP_MAD_SAT 0x2D\n" 00089 ".emtcode OP_SWZ 0x19\n" 00090 ".emtcode OP_SWZ_SAT 0x3C\n" 00091 ".emtcode OP_TEX 0x3D\n" 00092 ".emtcode OP_TEX_SAT 0x3E\n" 00093 ".emtcode OP_TXB 0x3F\n" 00094 ".emtcode OP_TXB_SAT 0x40\n" 00095 ".emtcode OP_TXP 0x41\n" 00096 ".emtcode OP_TXP_SAT 0x42\n" 00097 ".emtcode OP_KIL 0x28\n" 00098 ".emtcode OP_ARL 0x02\n" 00099 ".emtcode OP_EXP 0x08\n" 00100 ".emtcode OP_LOG 0x0D\n" 00101 ".emtcode FRAGMENT_ATTRIB_COLOR 0x01\n" 00102 ".emtcode FRAGMENT_ATTRIB_TEXCOORD 0x02\n" 00103 ".emtcode FRAGMENT_ATTRIB_FOGCOORD 0x03\n" 00104 ".emtcode FRAGMENT_ATTRIB_POSITION 0x04\n" 00105 ".emtcode VERTEX_ATTRIB_POSITION 0x01\n" 00106 ".emtcode VERTEX_ATTRIB_WEIGHT 0x02\n" 00107 ".emtcode VERTEX_ATTRIB_NORMAL 0x03\n" 00108 ".emtcode VERTEX_ATTRIB_COLOR 0x04\n" 00109 ".emtcode VERTEX_ATTRIB_FOGCOORD 0x05\n" 00110 ".emtcode VERTEX_ATTRIB_TEXCOORD 0x06\n" 00111 ".emtcode VERTEX_ATTRIB_MATRIXINDEX 0x07\n" 00112 ".emtcode VERTEX_ATTRIB_GENERIC 0x08\n" 00113 ".emtcode FRAGMENT_RESULT_COLOR 0x01\n" 00114 ".emtcode FRAGMENT_RESULT_DEPTH 0x02\n" 00115 ".emtcode VERTEX_RESULT_POSITION 0x01\n" 00116 ".emtcode VERTEX_RESULT_COLOR 0x02\n" 00117 ".emtcode VERTEX_RESULT_FOGCOORD 0x03\n" 00118 ".emtcode VERTEX_RESULT_POINTSIZE 0x04\n" 00119 ".emtcode VERTEX_RESULT_TEXCOORD 0x05\n" 00120 ".emtcode TEXTARGET_1D 0x01\n" 00121 ".emtcode TEXTARGET_2D 0x02\n" 00122 ".emtcode TEXTARGET_3D 0x03\n" 00123 ".emtcode TEXTARGET_RECT 0x04\n" 00124 ".emtcode TEXTARGET_CUBE 0x05\n" 00125 ".emtcode TEXTARGET_SHADOW1D 0x06\n" 00126 ".emtcode TEXTARGET_SHADOW2D 0x07\n" 00127 ".emtcode TEXTARGET_SHADOWRECT 0x08\n" 00128 ".emtcode TEXTARGET_1D_ARRAY 0x09\n" 00129 ".emtcode TEXTARGET_2D_ARRAY 0x0a\n" 00130 ".emtcode TEXTARGET_SHADOW1D_ARRAY 0x0b\n" 00131 ".emtcode TEXTARGET_SHADOW2D_ARRAY 0x0c\n" 00132 ".emtcode FACE_FRONT 0x00\n" 00133 ".emtcode FACE_BACK 0x01\n" 00134 ".emtcode COLOR_PRIMARY 0x00\n" 00135 ".emtcode COLOR_SECONDARY 0x01\n" 00136 ".emtcode COMPONENT_X 0x00\n" 00137 ".emtcode COMPONENT_Y 0x01\n" 00138 ".emtcode COMPONENT_Z 0x02\n" 00139 ".emtcode COMPONENT_W 0x03\n" 00140 ".emtcode COMPONENT_0 0x04\n" 00141 ".emtcode COMPONENT_1 0x05\n" 00142 ".emtcode ARRAY_INDEX_ABSOLUTE 0x00\n" 00143 ".emtcode ARRAY_INDEX_RELATIVE 0x01\n" 00144 ".emtcode MATRIX_MODELVIEW 0x01\n" 00145 ".emtcode MATRIX_PROJECTION 0x02\n" 00146 ".emtcode MATRIX_MVP 0x03\n" 00147 ".emtcode MATRIX_TEXTURE 0x04\n" 00148 ".emtcode MATRIX_PALETTE 0x05\n" 00149 ".emtcode MATRIX_PROGRAM 0x06\n" 00150 ".emtcode MATRIX_MODIFIER_IDENTITY 0x00\n" 00151 ".emtcode MATRIX_MODIFIER_INVERSE 0x01\n" 00152 ".emtcode MATRIX_MODIFIER_TRANSPOSE 0x02\n" 00153 ".emtcode MATRIX_MODIFIER_INVTRANS 0x03\n" 00154 ".emtcode CONSTANT_SCALAR 0x01\n" 00155 ".emtcode CONSTANT_VECTOR 0x02\n" 00156 ".emtcode PROGRAM_PARAM_ENV 0x01\n" 00157 ".emtcode PROGRAM_PARAM_LOCAL 0x02\n" 00158 ".emtcode REGISTER_ATTRIB 0x01\n" 00159 ".emtcode REGISTER_PARAM 0x02\n" 00160 ".emtcode REGISTER_RESULT 0x03\n" 00161 ".emtcode REGISTER_ESTABLISHED_NAME 0x04\n" 00162 ".emtcode PARAM_NULL 0x00\n" 00163 ".emtcode PARAM_ARRAY_ELEMENT 0x01\n" 00164 ".emtcode PARAM_STATE_ELEMENT 0x02\n" 00165 ".emtcode PARAM_PROGRAM_ELEMENT 0x03\n" 00166 ".emtcode PARAM_PROGRAM_ELEMENTS 0x04\n" 00167 ".emtcode PARAM_CONSTANT 0x05\n" 00168 ".emtcode STATE_MATERIAL 0x01\n" 00169 ".emtcode STATE_LIGHT 0x02\n" 00170 ".emtcode STATE_LIGHT_MODEL 0x03\n" 00171 ".emtcode STATE_LIGHT_PROD 0x04\n" 00172 ".emtcode STATE_FOG 0x05\n" 00173 ".emtcode STATE_MATRIX_ROWS 0x06\n" 00174 ".emtcode STATE_TEX_ENV 0x07\n" 00175 ".emtcode STATE_DEPTH 0x08\n" 00176 ".emtcode STATE_TEX_GEN 0x09\n" 00177 ".emtcode STATE_CLIP_PLANE 0x0A\n" 00178 ".emtcode STATE_POINT 0x0B\n" 00179 ".emtcode MATERIAL_AMBIENT 0x01\n" 00180 ".emtcode MATERIAL_DIFFUSE 0x02\n" 00181 ".emtcode MATERIAL_SPECULAR 0x03\n" 00182 ".emtcode MATERIAL_EMISSION 0x04\n" 00183 ".emtcode MATERIAL_SHININESS 0x05\n" 00184 ".emtcode LIGHT_AMBIENT 0x01\n" 00185 ".emtcode LIGHT_DIFFUSE 0x02\n" 00186 ".emtcode LIGHT_SPECULAR 0x03\n" 00187 ".emtcode LIGHT_POSITION 0x04\n" 00188 ".emtcode LIGHT_ATTENUATION 0x05\n" 00189 ".emtcode LIGHT_HALF 0x06\n" 00190 ".emtcode LIGHT_SPOT_DIRECTION 0x07\n" 00191 ".emtcode LIGHT_MODEL_AMBIENT 0x01\n" 00192 ".emtcode LIGHT_MODEL_SCENECOLOR 0x02\n" 00193 ".emtcode LIGHT_PROD_AMBIENT 0x01\n" 00194 ".emtcode LIGHT_PROD_DIFFUSE 0x02\n" 00195 ".emtcode LIGHT_PROD_SPECULAR 0x03\n" 00196 ".emtcode TEX_ENV_COLOR 0x01\n" 00197 ".emtcode TEX_GEN_EYE 0x01\n" 00198 ".emtcode TEX_GEN_OBJECT 0x02\n" 00199 ".emtcode FOG_COLOR 0x01\n" 00200 ".emtcode FOG_PARAMS 0x02\n" 00201 ".emtcode DEPTH_RANGE 0x01\n" 00202 ".emtcode POINT_SIZE 0x01\n" 00203 ".emtcode POINT_ATTENUATION 0x02\n" 00204 ".emtcode ATTRIB 0x01\n" 00205 ".emtcode PARAM 0x02\n" 00206 ".emtcode TEMP 0x03\n" 00207 ".emtcode OUTPUT 0x04\n" 00208 ".emtcode ALIAS 0x05\n" 00209 ".emtcode ADDRESS 0x06\n" 00210 ".errtext UNKNOWN_PROGRAM_SIGNATURE \"1001: '$e_signature$': unknown program signature\"\n" 00211 ".errtext MISSING_END_OR_INVALID_STATEMENT \"1002: '$e_statement$': invalid statement\"\n" 00212 ".errtext CODE_AFTER_END \"1003: '$e_statement$': code after 'END' keyword\"\n" 00213 ".errtext INVALID_PROGRAM_OPTION \"1004: '$e_identifier$': invalid program option\"\n" 00214 ".errtext EXT_SWIZ_COMP_EXPECTED \"1005: extended swizzle component expected but '$e_token$' found\"\n" 00215 ".errtext TEX_TARGET_EXPECTED \"1006: texture target expected but '$e_token$' found\"\n" 00216 ".errtext TEXTURE_EXPECTED \"1007: 'texture' expected but '$e_identifier$' found\"\n" 00217 ".errtext SOURCE_REGISTER_EXPECTED \"1008: source register expected but '$e_token$' found\"\n" 00218 ".errtext DESTINATION_REGISTER_EXPECTED \"1009: destination register expected but '$e_token$' found\"\n" 00219 ".errtext INVALID_ADDRESS_COMPONENT \"1010: '$e_identifier$': invalid address component\"\n" 00220 ".errtext INVALID_ADDRESS_WRITEMASK \"1011: '$e_identifier$': invalid address writemask\"\n" 00221 ".errtext INVALID_COMPONENT \"1012: '$e_charordigit$': invalid component\"\n" 00222 ".errtext INVALID_SUFFIX \"1013: '$e_identifier$': invalid suffix\"\n" 00223 ".errtext INVALID_WRITEMASK \"1014: '$e_identifier$': invalid writemask\"\n" 00224 ".errtext FRAGMENT_EXPECTED \"1015: 'fragment' expected but '$e_identifier$' found\"\n" 00225 ".errtext VERTEX_EXPECTED \"1016: 'vertex' expected but '$e_identifier$' found\"\n" 00226 ".errtext INVALID_FRAGMENT_PROPERTY \"1017: '$e_identifier$': invalid fragment property\"\n" 00227 ".errtext INVALID_VERTEX_PROPERTY \"1018: '$e_identifier$': invalid vertex property\"\n" 00228 ".errtext INVALID_STATE_PROPERTY \"1019: '$e_identifier$': invalid state property\"\n" 00229 ".errtext INVALID_MATERIAL_PROPERTY \"1020: '$e_identifier$': invalid material property\"\n" 00230 ".errtext INVALID_LIGHT_PROPERTY \"1021: '$e_identifier$': invalid light property\"\n" 00231 ".errtext INVALID_SPOT_PROPERTY \"1022: '$e_identifier$': invalid spot property\"\n" 00232 ".errtext INVALID_LIGHTMODEL_PROPERTY \"1023: '$e_identifier$': invalid light model property\"\n" 00233 ".errtext INVALID_LIGHTPROD_PROPERTY \"1024: '$e_identifier$': invalid light product property\"\n" 00234 ".errtext INVALID_TEXENV_PROPERTY \"1025: '$e_identifier$': invalid texture environment property\"\n" 00235 ".errtext INVALID_TEXGEN_PROPERTY \"1026: '$e_identifier$': invalid texture generating property\"\n" 00236 ".errtext INVALID_TEXGEN_COORD \"1027: '$e_identifier$': invalid texture generating coord\"\n" 00237 ".errtext INVALID_FOG_PROPERTY \"1028: '$e_identifier$': invalid fog property\"\n" 00238 ".errtext INVALID_DEPTH_PROPERTY \"1029: '$e_identifier$': invalid depth property\"\n" 00239 ".errtext INVALID_CLIPPLANE_PROPERTY \"1030: '$e_identifier$': invalid clip plane property\"\n" 00240 ".errtext INVALID_POINT_PROPERTY \"1031: '$e_identifier$': invalid point property\"\n" 00241 ".errtext MATRIX_ROW_SELECTOR_OR_MODIFIER_EXPECTED \"1032: matrix row selector or modifier expected but '$e_token$' found\"\n" 00242 ".errtext INVALID_MATRIX_NAME \"1033: '$e_identifier$': invalid matrix name\"\n" 00243 ".errtext INVALID_PROGRAM_PROPERTY \"1034: '$e_identifier$': invalid program property\"\n" 00244 ".errtext RESULT_EXPECTED \"1035: 'result' expected but '$e_token$' found\"\n" 00245 ".errtext INVALID_RESULT_PROPERTY \"1036: '$e_identifier$': invalid result property\"\n" 00246 ".errtext INVALID_FACE_PROPERTY \"1037: '$e_identifier$': invalid face property\"\n" 00247 ".errtext INVALID_COLOR_PROPERTY \"1038: '$e_identifier$': invalid color property\"\n" 00248 ".errtext IDENTIFIER_EXPECTED \"1039: identifier expected but '$e_token$' found\"\n" 00249 ".errtext RESERVED_KEYWORD \"1040: use of reserved keyword as an identifier\"\n" 00250 ".errtext INTEGER_EXPECTED \"1041: integer value expected but '$e_token$' found\"\n" 00251 ".errtext MISSING_SEMICOLON \"1042: ';' expected but '$e_token$' found\"\n" 00252 ".errtext MISSING_COMMA \"1043: ',' expected but '$e_token$' found\"\n" 00253 ".errtext MISSING_LBRACKET \"1044: '[' expected but '$e_token$' found\"\n" 00254 ".errtext MISSING_RBRACKET \"1045: ']' expected but '$e_token$' found\"\n" 00255 ".errtext MISSING_DOT \"1046: '.' expected but '$e_token$' found\"\n" 00256 ".errtext MISSING_EQUAL \"1047: '=' expected but '$e_token$' found\"\n" 00257 ".errtext MISSING_LBRACE \"1048: '{' expected but '$e_token$' found\"\n" 00258 ".errtext MISSING_RBRACE \"1049: '}' expected but '$e_token$' found\"\n" 00259 ".errtext MISSING_DOTDOT \"1050: '..' expected but '$e_token$' found\"\n" 00260 ".errtext MISSING_FRACTION_OR_EXPONENT \"1051: missing fraction part or exponent\"\n" 00261 ".errtext MISSING_DOT_OR_EXPONENT \"1052: missing '.' or exponent\"\n" 00262 ".errtext EXPONENT_VALUE_EXPECTED \"1053: exponent value expected\"\n" 00263 ".errtext INTEGER_OUT_OF_RANGE \"1054: integer value out of range\"\n" 00264 ".errtext OPERATION_NEEDS_DESTINATION_VARIABLE \"1055: operation needs destination variable\"\n" 00265 ".errtext OPERATION_NEEDS_SOURCE_VARIABLE \"1056: operation needs source variable\"\n" 00266 ".errtext ADDRESS_REGISTER_EXPECTED \"1057: address register expected but '$e_token$' found\"\n" 00267 ".errtext ADDRESS_REGISTER_OR_INTEGER_EXPECTED \"1058: address register or integer literal expected but '$e_token$' found\"\n" 00268 ".regbyte vertex_blend 0x00\n" 00269 ".regbyte matrix_palette 0x00\n" 00270 ".regbyte point_parameters 0x00\n" 00271 ".regbyte secondary_color 0x00\n" 00272 ".regbyte fog_coord 0x00\n" 00273 ".regbyte texture_rectangle 0x00\n" 00274 ".regbyte fragment_program_shadow 0x00\n" 00275 ".regbyte draw_buffers 0x00\n" 00276 ".regbyte texture_array 0x00\n" 00277 ".regbyte ARB_precision_hint_fastest 0x00\n" 00278 ".regbyte ARB_precision_hint_nicest 0x00\n" 00279 ".regbyte ARB_fog_exp 0x00\n" 00280 ".regbyte ARB_fog_exp2 0x00\n" 00281 ".regbyte ARB_fog_linear 0x00\n" 00282 ".regbyte ARB_position_invariant 0x00\n" 00283 ".regbyte ARB_fragment_program_shadow 0x00\n" 00284 ".regbyte ARB_draw_buffers 0x00\n" 00285 ".regbyte MESA_texture_array 0x00\n" 00286 ".regbyte program_target 0x00\n" 00287 "program\n" 00288 " programs .error UNKNOWN_PROGRAM_SIGNATURE .emit REVISION;\n" 00289 "programs\n" 00290 " .if (program_target == 0x10) frag_program_1_0 .emit FRAGMENT_PROGRAM .emit 0x01 .emit 0x00 .or\n" 00291 " .if (program_target == 0x20) vert_program_1_0 .emit VERTEX_PROGRAM .emit 0x01 .emit 0x00;\n" 00292 "frag_program_1_0\n" 00293 " '!' .and '!' .and 'A' .and 'R' .and 'B' .and 'f' .and 'p' .and '1' .and '.' .and '0' .and\n" 00294 " optional_space .and fp_optionSequence .and fp_statementSequence .and\n" 00295 " \"END\" .error MISSING_END_OR_INVALID_STATEMENT .emit END .and optional_space .and\n" 00296 " '\\0' .error CODE_AFTER_END;\n" 00297 "vert_program_1_0\n" 00298 " '!' .and '!' .and 'A' .and 'R' .and 'B' .and 'v' .and 'p' .and '1' .and '.' .and '0' .and\n" 00299 " optional_space .and vp_optionSequence .and vp_statementSequence .and\n" 00300 " \"END\" .error MISSING_END_OR_INVALID_STATEMENT .emit END .and optional_space .and\n" 00301 " '\\0' .error CODE_AFTER_END;\n" 00302 "fp_optionSequence\n" 00303 " .loop fp_option;\n" 00304 "vp_optionSequence\n" 00305 " .loop vp_option;\n" 00306 "fp_option\n" 00307 " \"OPTION\" .emit OPTION .and space .error IDENTIFIER_EXPECTED .and\n" 00308 " fp_optionString .error INVALID_PROGRAM_OPTION .and semicolon;\n" 00309 "vp_option\n" 00310 " \"OPTION\" .emit OPTION .and space .error IDENTIFIER_EXPECTED .and\n" 00311 " vp_optionString .error INVALID_PROGRAM_OPTION .and semicolon;\n" 00312 "fp_optionString\n" 00313 " .if (ARB_precision_hint_nicest == 0x00) \"ARB_precision_hint_fastest\"\n" 00314 " .emit ARB_PRECISION_HINT_FASTEST .load ARB_precision_hint_fastest 0x01 .or\n" 00315 " .if (ARB_precision_hint_fastest == 0x00) \"ARB_precision_hint_nicest\"\n" 00316 " .emit ARB_PRECISION_HINT_NICEST .load ARB_precision_hint_nicest 0x01 .or\n" 00317 " fp_ARB_fog_exp .emit ARB_FOG_EXP .load ARB_fog_exp 0x01 .or\n" 00318 " fp_ARB_fog_exp2 .emit ARB_FOG_EXP2 .load ARB_fog_exp2 0x01 .or\n" 00319 " fp_ARB_fog_linear .emit ARB_FOG_LINEAR .load ARB_fog_linear 0x01 .or\n" 00320 " .if (fragment_program_shadow != 0x00) \"ARB_fragment_program_shadow\"\n" 00321 " .emit ARB_FRAGMENT_PROGRAM_SHADOW .load ARB_fragment_program_shadow 0x01 .or\n" 00322 " .if (draw_buffers != 0x00) \"ARB_draw_buffers\" .emit ARB_DRAW_BUFFERS\n" 00323 " .load ARB_draw_buffers 0x01 .or\n" 00324 " .if (texture_array != 0x00) \"MESA_texture_array\" .emit MESA_TEXTURE_ARRAY\n" 00325 " .load MESA_texture_array 0x01;\n" 00326 "vp_optionString\n" 00327 " \"ARB_position_invariant\" .emit ARB_POSITION_INVARIANT .load ARB_position_invariant 0x01;\n" 00328 "fp_ARB_fog_exp\n" 00329 " .if (ARB_fog_exp2 == 0x00) .true .and .if (ARB_fog_linear == 0x00) \"ARB_fog_exp\";\n" 00330 "fp_ARB_fog_exp2\n" 00331 " .if (ARB_fog_exp == 0x00) .true .and .if (ARB_fog_linear == 0x00) \"ARB_fog_exp2\";\n" 00332 "fp_ARB_fog_linear\n" 00333 " .if (ARB_fog_exp == 0x00) .true .and .if (ARB_fog_exp2 == 0x00) \"ARB_fog_linear\";\n" 00334 "fp_statementSequence\n" 00335 " .loop fp_statement;\n" 00336 "vp_statementSequence\n" 00337 " .loop vp_statement;\n" 00338 "fp_statement\n" 00339 " fp_statement_1 .or fp_statement_2;\n" 00340 "vp_statement\n" 00341 " vp_statement_1 .or vp_statement_2;\n" 00342 "fp_statement_1\n" 00343 " fp_instruction .emit INSTRUCTION .emit $ .and semicolon;\n" 00344 "fp_statement_2\n" 00345 " fp_namingStatement .emit DECLARATION .and semicolon;\n" 00346 "vp_statement_1\n" 00347 " vp_instruction .emit INSTRUCTION .emit $ .and semicolon;\n" 00348 "vp_statement_2\n" 00349 " vp_namingStatement .emit DECLARATION .and semicolon;\n" 00350 "fp_instruction\n" 00351 " ALUInstruction .emit OP_ALU_INST .or\n" 00352 " TexInstruction .emit OP_TEX_INST;\n" 00353 "vp_instruction\n" 00354 " ARL_instruction .emit OP_ALU_ARL .or\n" 00355 " vp_VECTORop_instruction .emit OP_ALU_VECTOR .or\n" 00356 " vp_SCALARop_instruction .emit OP_ALU_SCALAR .or\n" 00357 " vp_BINSCop_instruction .emit OP_ALU_BINSC .or\n" 00358 " vp_BINop_instruction .emit OP_ALU_BIN .or\n" 00359 " vp_TRIop_instruction .emit OP_ALU_TRI .or\n" 00360 " vp_SWZ_instruction .emit OP_ALU_SWZ;\n" 00361 "ALUInstruction\n" 00362 " fp_VECTORop_instruction .emit OP_ALU_VECTOR .or\n" 00363 " fp_SCALARop_instruction .emit OP_ALU_SCALAR .or\n" 00364 " fp_BINSCop_instruction .emit OP_ALU_BINSC .or\n" 00365 " fp_BINop_instruction .emit OP_ALU_BIN .or\n" 00366 " fp_TRIop_instruction .emit OP_ALU_TRI .or\n" 00367 " fp_SWZ_instruction .emit OP_ALU_SWZ;\n" 00368 "TexInstruction\n" 00369 " SAMPLE_instruction .emit OP_TEX_SAMPLE .or\n" 00370 " KIL_instruction .emit OP_TEX_KIL;\n" 00371 "ARL_instruction\n" 00372 " \"ARL\" .emit OP_ARL .and space_dst .and maskedAddrReg .and comma .and vp_scalarSrcReg;\n" 00373 "fp_VECTORop_instruction\n" 00374 " fp_VECTORop .and space_dst .and fp_maskedDstReg .and comma .and vectorSrcReg;\n" 00375 "vp_VECTORop_instruction\n" 00376 " vp_VECTORop .and space_dst .and vp_maskedDstReg .and comma .and swizzleSrcReg;\n" 00377 "fp_VECTORop\n" 00378 " \"ABS\" .emit OP_ABS .or \"ABS_SAT\" .emit OP_ABS_SAT .or\n" 00379 " \"FLR\" .emit OP_FLR .or \"FLR_SAT\" .emit OP_FLR_SAT .or\n" 00380 " \"FRC\" .emit OP_FRC .or \"FRC_SAT\" .emit OP_FRC_SAT .or\n" 00381 " \"LIT\" .emit OP_LIT .or \"LIT_SAT\" .emit OP_LIT_SAT .or\n" 00382 " \"MOV\" .emit OP_MOV .or \"MOV_SAT\" .emit OP_MOV_SAT;\n" 00383 "vp_VECTORop\n" 00384 " \"ABS\" .emit OP_ABS .or\n" 00385 " \"FLR\" .emit OP_FLR .or\n" 00386 " \"FRC\" .emit OP_FRC .or\n" 00387 " \"LIT\" .emit OP_LIT .or\n" 00388 " \"MOV\" .emit OP_MOV;\n" 00389 "fp_SCALARop_instruction\n" 00390 " fp_SCALARop .and space_dst .and fp_maskedDstReg .and comma .and fp_scalarSrcReg;\n" 00391 "vp_SCALARop_instruction\n" 00392 " vp_SCALARop .and space_dst .and vp_maskedDstReg .and comma .and vp_scalarSrcReg;\n" 00393 "fp_SCALARop\n" 00394 " \"COS\" .emit OP_COS .or \"COS_SAT\" .emit OP_COS_SAT .or\n" 00395 " \"EX2\" .emit OP_EX2 .or \"EX2_SAT\" .emit OP_EX2_SAT .or\n" 00396 " \"LG2\" .emit OP_LG2 .or \"LG2_SAT\" .emit OP_LG2_SAT .or\n" 00397 " \"RCP\" .emit OP_RCP .or \"RCP_SAT\" .emit OP_RCP_SAT .or\n" 00398 " \"RSQ\" .emit OP_RSQ .or \"RSQ_SAT\" .emit OP_RSQ_SAT .or\n" 00399 " \"SIN\" .emit OP_SIN .or \"SIN_SAT\" .emit OP_SIN_SAT .or\n" 00400 " \"SCS\" .emit OP_SCS .or \"SCS_SAT\" .emit OP_SCS_SAT;\n" 00401 "vp_SCALARop\n" 00402 " \"EX2\" .emit OP_EX2 .or\n" 00403 " \"EXP\" .emit OP_EXP .or\n" 00404 " \"LG2\" .emit OP_LG2 .or\n" 00405 " \"LOG\" .emit OP_LOG .or\n" 00406 " \"RCP\" .emit OP_RCP .or\n" 00407 " \"RSQ\" .emit OP_RSQ;\n" 00408 "fp_BINSCop_instruction\n" 00409 " fp_BINSCop .and space_dst .and fp_maskedDstReg .and comma .and fp_scalarSrcReg .and comma .and\n" 00410 " fp_scalarSrcReg;\n" 00411 "vp_BINSCop_instruction\n" 00412 " vp_BINSCop .and space_dst .and vp_maskedDstReg .and comma .and vp_scalarSrcReg .and comma .and\n" 00413 " vp_scalarSrcReg;\n" 00414 "fp_BINSCop\n" 00415 " \"POW\" .emit OP_POW .or \"POW_SAT\" .emit OP_POW_SAT;\n" 00416 "vp_BINSCop\n" 00417 " \"POW\" .emit OP_POW;\n" 00418 "fp_BINop_instruction\n" 00419 " fp_BINop .and space_dst .and fp_maskedDstReg .and comma .and vectorSrcReg .and comma .and\n" 00420 " vectorSrcReg;\n" 00421 "vp_BINop_instruction\n" 00422 " vp_BINop .and space_dst .and vp_maskedDstReg .and comma .and swizzleSrcReg .and comma .and\n" 00423 " swizzleSrcReg;\n" 00424 "fp_BINop\n" 00425 " \"ADD\" .emit OP_ADD .or \"ADD_SAT\" .emit OP_ADD_SAT .or\n" 00426 " \"DP3\" .emit OP_DP3 .or \"DP3_SAT\" .emit OP_DP3_SAT .or\n" 00427 " \"DP4\" .emit OP_DP4 .or \"DP4_SAT\" .emit OP_DP4_SAT .or\n" 00428 " \"DPH\" .emit OP_DPH .or \"DPH_SAT\" .emit OP_DPH_SAT .or\n" 00429 " \"DST\" .emit OP_DST .or \"DST_SAT\" .emit OP_DST_SAT .or\n" 00430 " \"MAX\" .emit OP_MAX .or \"MAX_SAT\" .emit OP_MAX_SAT .or\n" 00431 " \"MIN\" .emit OP_MIN .or \"MIN_SAT\" .emit OP_MIN_SAT .or\n" 00432 " \"MUL\" .emit OP_MUL .or \"MUL_SAT\" .emit OP_MUL_SAT .or\n" 00433 " \"SGE\" .emit OP_SGE .or \"SGE_SAT\" .emit OP_SGE_SAT .or\n" 00434 " \"SLT\" .emit OP_SLT .or \"SLT_SAT\" .emit OP_SLT_SAT .or\n" 00435 " \"SUB\" .emit OP_SUB .or \"SUB_SAT\" .emit OP_SUB_SAT .or\n" 00436 " \"XPD\" .emit OP_XPD .or \"XPD_SAT\" .emit OP_XPD_SAT;\n" 00437 "vp_BINop\n" 00438 " \"ADD\" .emit OP_ADD .or\n" 00439 " \"DP3\" .emit OP_DP3 .or\n" 00440 " \"DP4\" .emit OP_DP4 .or\n" 00441 " \"DPH\" .emit OP_DPH .or\n" 00442 " \"DST\" .emit OP_DST .or\n" 00443 " \"MAX\" .emit OP_MAX .or\n" 00444 " \"MIN\" .emit OP_MIN .or\n" 00445 " \"MUL\" .emit OP_MUL .or\n" 00446 " \"SGE\" .emit OP_SGE .or\n" 00447 " \"SLT\" .emit OP_SLT .or\n" 00448 " \"SUB\" .emit OP_SUB .or\n" 00449 " \"XPD\" .emit OP_XPD;\n" 00450 "fp_TRIop_instruction\n" 00451 " fp_TRIop .and space_dst .and fp_maskedDstReg .and comma .and vectorSrcReg .and comma .and\n" 00452 " vectorSrcReg .and comma .and vectorSrcReg;\n" 00453 "vp_TRIop_instruction\n" 00454 " vp_TRIop .and space_dst .and vp_maskedDstReg .and comma .and swizzleSrcReg .and comma .and\n" 00455 " swizzleSrcReg .and comma .and swizzleSrcReg;\n" 00456 "fp_TRIop\n" 00457 " \"CMP\" .emit OP_CMP .or \"CMP_SAT\" .emit OP_CMP_SAT .or\n" 00458 " \"LRP\" .emit OP_LRP .or \"LRP_SAT\" .emit OP_LRP_SAT .or\n" 00459 " \"MAD\" .emit OP_MAD .or \"MAD_SAT\" .emit OP_MAD_SAT;\n" 00460 "vp_TRIop\n" 00461 " \"MAD\" .emit OP_MAD;\n" 00462 "fp_SWZ_instruction\n" 00463 " SWZop .and space_dst .and fp_maskedDstReg .and comma .and fp_srcReg .and comma .and\n" 00464 " fp_extendedSwizzle .error EXT_SWIZ_COMP_EXPECTED;\n" 00465 "vp_SWZ_instruction\n" 00466 " \"SWZ\" .emit OP_SWZ .and space_dst .and vp_maskedDstReg .and comma .and vp_srcReg .and comma .and\n" 00467 " vp_extendedSwizzle .error EXT_SWIZ_COMP_EXPECTED;\n" 00468 "SWZop\n" 00469 " \"SWZ\" .emit OP_SWZ .or \"SWZ_SAT\" .emit OP_SWZ_SAT;\n" 00470 "SAMPLE_instruction\n" 00471 " SAMPLEop .and space_dst .and fp_maskedDstReg .and comma .and vectorSrcReg .and comma .and\n" 00472 " texImageUnit .and comma .and texTarget .error TEX_TARGET_EXPECTED;\n" 00473 "SAMPLEop\n" 00474 " \"TEX\" .emit OP_TEX .or \"TEX_SAT\" .emit OP_TEX_SAT .or\n" 00475 " \"TXB\" .emit OP_TXB .or \"TXB_SAT\" .emit OP_TXB_SAT .or\n" 00476 " \"TXP\" .emit OP_TXP .or \"TXP_SAT\" .emit OP_TXP_SAT;\n" 00477 "KIL_instruction\n" 00478 " \"KIL\" .emit OP_KIL .and space_src .and vectorSrcReg;\n" 00479 "texImageUnit\n" 00480 " \"texture\" .error TEXTURE_EXPECTED .and optTexImageUnitNum;\n" 00481 "texTarget\n" 00482 " \"1D\" .emit TEXTARGET_1D .or\n" 00483 " \"2D\" .emit TEXTARGET_2D .or\n" 00484 " \"3D\" .emit TEXTARGET_3D .or\n" 00485 " .if (texture_rectangle != 0x00) \"RECT\" .emit TEXTARGET_RECT .or\n" 00486 " \"CUBE\" .emit TEXTARGET_CUBE .or\n" 00487 " .if (ARB_fragment_program_shadow != 0x00) shadowTarget .or\n" 00488 " .if (MESA_texture_array != 0x00) arrayTarget;\n" 00489 "shadowTarget\n" 00490 " \"SHADOW1D\" .emit TEXTARGET_SHADOW1D .or\n" 00491 " \"SHADOW2D\" .emit TEXTARGET_SHADOW2D .or\n" 00492 " .if (texture_rectangle != 0x00) \"SHADOWRECT\" .emit TEXTARGET_SHADOWRECT .or\n" 00493 " .if (MESA_texture_array != 0x00) shadowArrayTarget;\n" 00494 "arrayTarget\n" 00495 " \"ARRAY1D\" .emit TEXTARGET_1D_ARRAY .or\n" 00496 " \"ARRAY2D\" .emit TEXTARGET_2D_ARRAY;\n" 00497 "shadowArrayTarget\n" 00498 " \"SHADOWARRAY1D\" .emit TEXTARGET_SHADOW1D_ARRAY .or\n" 00499 " \"SHADOWARRAY2D\" .emit TEXTARGET_SHADOW2D_ARRAY;\n" 00500 "optTexImageUnitNum\n" 00501 " optTexImageUnitNum_1 .or .true .emit 0x00;\n" 00502 "optTexImageUnitNum_1\n" 00503 " lbracket_ne .and texImageUnitNum .and rbracket;\n" 00504 "texImageUnitNum\n" 00505 " integer;\n" 00506 "fp_scalarSrcReg\n" 00507 " optionalSign .and fp_srcReg .and fp_scalarSuffix;\n" 00508 "vp_scalarSrcReg\n" 00509 " optionalSign .and vp_srcReg .and vp_scalarSuffix;\n" 00510 "swizzleSrcReg\n" 00511 " optionalSign .and vp_srcReg .and swizzleSuffix;\n" 00512 "vectorSrcReg\n" 00513 " optionalSign .and fp_srcReg .and optionalSuffix;\n" 00514 "fp_maskedDstReg\n" 00515 " fp_dstReg .and fp_optionalMask;\n" 00516 "vp_maskedDstReg\n" 00517 " vp_dstReg .and vp_optionalMask;\n" 00518 "maskedAddrReg\n" 00519 " addrReg .error ADDRESS_REGISTER_EXPECTED .and addrWriteMask;\n" 00520 "fp_extendedSwizzle\n" 00521 " rgbaExtendedSwizzle .or xyzwExtendedSwizzle;\n" 00522 "vp_extendedSwizzle\n" 00523 " extSwizComp .and comma .and\n" 00524 " extSwizComp .error EXT_SWIZ_COMP_EXPECTED .and comma .and\n" 00525 " extSwizComp .error EXT_SWIZ_COMP_EXPECTED .and comma .and\n" 00526 " extSwizComp .error EXT_SWIZ_COMP_EXPECTED;\n" 00527 "xyzwExtendedSwizzle\n" 00528 " xyzwExtSwizComp .and comma .and\n" 00529 " xyzwExtSwizComp .error EXT_SWIZ_COMP_EXPECTED .and comma .and\n" 00530 " xyzwExtSwizComp .error EXT_SWIZ_COMP_EXPECTED .and comma .and\n" 00531 " xyzwExtSwizComp .error EXT_SWIZ_COMP_EXPECTED;\n" 00532 "rgbaExtendedSwizzle\n" 00533 " rgbaExtendedSwizzle_1 .or rgbaExtendedSwizzle_2 .or rgbaExtendedSwizzle_3 .or\n" 00534 " rgbaExtendedSwizzle_4;\n" 00535 "rgbaExtendedSwizzle_1\n" 00536 " rgbaExtSwizComp_digit .and comma .and rgbaExtSwizComp_digit .and comma .and\n" 00537 " rgbaExtSwizComp_digit .and comma .and rgbaExtSwizComp;\n" 00538 "rgbaExtendedSwizzle_2\n" 00539 " rgbaExtSwizComp_digit .and comma .and rgbaExtSwizComp_digit .and comma .and\n" 00540 " rgbaExtSwizComp_alpha .and comma .and rgbaExtSwizComp .error EXT_SWIZ_COMP_EXPECTED;\n" 00541 "rgbaExtendedSwizzle_3\n" 00542 " rgbaExtSwizComp_digit .and comma .and rgbaExtSwizComp_alpha .and comma .and\n" 00543 " rgbaExtSwizComp .error EXT_SWIZ_COMP_EXPECTED .and comma .and\n" 00544 " rgbaExtSwizComp .error EXT_SWIZ_COMP_EXPECTED;\n" 00545 "rgbaExtendedSwizzle_4\n" 00546 " rgbaExtSwizComp_alpha .and comma .and \n" 00547 "rgbaExtSwizComp .error EXT_SWIZ_COMP_EXPECTED .and comma .and\n" 00548 " rgbaExtSwizComp .error EXT_SWIZ_COMP_EXPECTED .and comma .and\n" 00549 " rgbaExtSwizComp .error EXT_SWIZ_COMP_EXPECTED;\n" 00550 "xyzwExtSwizComp\n" 00551 " optionalSign .and xyzwExtSwizSel;\n" 00552 "rgbaExtSwizComp\n" 00553 " optionalSign .and rgbaExtSwizSel;\n" 00554 "rgbaExtSwizComp_digit\n" 00555 " optionalSign .and rgbaExtSwizSel_digit;\n" 00556 "rgbaExtSwizComp_alpha\n" 00557 " optionalSign .and rgbaExtSwizSel_alpha;\n" 00558 "extSwizComp\n" 00559 " optionalSign .and extSwizSel;\n" 00560 "xyzwExtSwizSel\n" 00561 " \"0\" .emit COMPONENT_0 .or \"1\" .emit COMPONENT_1 .or xyzwComponent_single;\n" 00562 "rgbaExtSwizSel\n" 00563 " rgbaExtSwizSel_digit .or rgbaExtSwizSel_alpha;\n" 00564 "rgbaExtSwizSel_digit\n" 00565 " \"0\" .emit COMPONENT_0 .or \"1\" .emit COMPONENT_1;\n" 00566 "rgbaExtSwizSel_alpha\n" 00567 " rgbaComponent_single;\n" 00568 "extSwizSel\n" 00569 " \"0\" .emit COMPONENT_0 .or \"1\" .emit COMPONENT_1 .or vp_component_single;\n" 00570 "fp_srcReg\n" 00571 " fp_srcReg_1 .error SOURCE_REGISTER_EXPECTED;\n" 00572 "vp_srcReg\n" 00573 " vp_srcReg_1 .error SOURCE_REGISTER_EXPECTED;\n" 00574 "fp_srcReg_1\n" 00575 " fragmentAttribReg .emit REGISTER_ATTRIB .or\n" 00576 " fp_progParamReg .emit REGISTER_PARAM .or\n" 00577 " fp_temporaryReg .emit REGISTER_ESTABLISHED_NAME;\n" 00578 "vp_srcReg_1\n" 00579 " vertexAttribReg .emit REGISTER_ATTRIB .or\n" 00580 " vp_progParamReg .emit REGISTER_PARAM .or\n" 00581 " vp_temporaryReg .emit REGISTER_ESTABLISHED_NAME;\n" 00582 "fp_dstReg\n" 00583 " fp_dstReg_1 .error DESTINATION_REGISTER_EXPECTED;\n" 00584 "vp_dstReg\n" 00585 " vp_dstReg_1 .error DESTINATION_REGISTER_EXPECTED;\n" 00586 "fp_dstReg_1\n" 00587 " fragmentResultReg .emit REGISTER_RESULT .or\n" 00588 " fp_temporaryReg .emit REGISTER_ESTABLISHED_NAME;\n" 00589 "vp_dstReg_1\n" 00590 " vertexResultReg .emit REGISTER_RESULT .or\n" 00591 " vp_temporaryReg .emit REGISTER_ESTABLISHED_NAME;\n" 00592 "fragmentAttribReg\n" 00593 " fragAttribBinding;\n" 00594 "vertexAttribReg\n" 00595 " vtxAttribBinding;\n" 00596 "fp_temporaryReg\n" 00597 " fp_establishedName_no_error_on_identifier;\n" 00598 "vp_temporaryReg\n" 00599 " vp_establishedName_no_error_on_identifier;\n" 00600 "fp_progParamReg\n" 00601 " fp_paramSingleItemUse .or fp_progParamReg_1 .or fp_progParamSingle;\n" 00602 "vp_progParamReg\n" 00603 " vp_paramSingleItemUse .or vp_progParamReg_1 .or vp_progParamSingle;\n" 00604 "fp_progParamReg_1\n" 00605 " fp_progParamArray .emit PARAM_ARRAY_ELEMENT .and lbracket_ne .and progParamArrayAbs .and\n" 00606 " rbracket;\n" 00607 "vp_progParamReg_1\n" 00608 " vp_progParamArray .emit PARAM_ARRAY_ELEMENT .and lbracket_ne .and progParamArrayMem .and\n" 00609 " rbracket;\n" 00610 "fp_progParamSingle\n" 00611 " .false;\n" 00612 "vp_progParamSingle\n" 00613 " .false;\n" 00614 "fp_progParamArray\n" 00615 " fp_establishedName_no_error_on_identifier;\n" 00616 "vp_progParamArray\n" 00617 " vp_establishedName_no_error_on_identifier;\n" 00618 "progParamArrayMem\n" 00619 " progParamArrayAbs .or progParamArrayRel;\n" 00620 "progParamArrayAbs\n" 00621 " integer_ne .emit ARRAY_INDEX_ABSOLUTE;\n" 00622 "progParamArrayRel\n" 00623 " addrReg .error ADDRESS_REGISTER_OR_INTEGER_EXPECTED .emit ARRAY_INDEX_RELATIVE .and\n" 00624 " addrComponent .and addrRegRelOffset;\n" 00625 "addrRegRelOffset\n" 00626 " addrRegRelOffset_1 .or addrRegRelOffset_2 .or .true .emit 0x00;\n" 00627 "addrRegRelOffset_1\n" 00628 " plus_ne .and addrRegPosOffset;\n" 00629 "addrRegRelOffset_2\n" 00630 " minus_ne .and addrRegNegOffset;\n" 00631 "addrRegPosOffset\n" 00632 " integer_0_63;\n" 00633 "addrRegNegOffset\n" 00634 " integer_0_64;\n" 00635 "fragmentResultReg\n" 00636 " fp_resultBinding;\n" 00637 "vertexResultReg\n" 00638 " vp_resultBinding;\n" 00639 "addrReg\n" 00640 " vp_establishedName_no_error_on_identifier;\n" 00641 "addrComponent\n" 00642 " dot .and \"x\" .error INVALID_ADDRESS_COMPONENT .emit COMPONENT_X .emit COMPONENT_X\n" 00643 " .emit COMPONENT_X .emit COMPONENT_X;\n" 00644 "addrWriteMask\n" 00645 " dot .and \"x\" .error INVALID_ADDRESS_WRITEMASK .emit 0x08;\n" 00646 "fp_scalarSuffix\n" 00647 " dot .and fp_component_single .error INVALID_COMPONENT;\n" 00648 "vp_scalarSuffix\n" 00649 " dot .and vp_component_single .error INVALID_COMPONENT;\n" 00650 "swizzleSuffix\n" 00651 " swizzleSuffix_1 .or\n" 00652 " .true .emit COMPONENT_X .emit COMPONENT_Y .emit COMPONENT_Z .emit COMPONENT_W;\n" 00653 "swizzleSuffix_1\n" 00654 " dot_ne .and swizzleSuffix_2 .error INVALID_SUFFIX;\n" 00655 "swizzleSuffix_2\n" 00656 " swizzleSuffix_3 .or swizzleSuffix_4;\n" 00657 "swizzleSuffix_3\n" 00658 " vp_component_multi .and vp_component_multi .and vp_component_multi .error INVALID_COMPONENT .and\n" 00659 " vp_component_multi .error INVALID_COMPONENT;\n" 00660 "swizzleSuffix_4\n" 00661 " \"x\" .emit COMPONENT_X .emit COMPONENT_X .emit COMPONENT_X .emit COMPONENT_X .or\n" 00662 " \"y\" .emit COMPONENT_Y .emit COMPONENT_Y .emit COMPONENT_Y .emit COMPONENT_Y .or\n" 00663 " \"z\" .emit COMPONENT_Z .emit COMPONENT_Z .emit COMPONENT_Z .emit COMPONENT_Z .or\n" 00664 " \"w\" .emit COMPONENT_W .emit COMPONENT_W .emit COMPONENT_W .emit COMPONENT_W;\n" 00665 "optionalSuffix\n" 00666 " optionalSuffix_1 .or\n" 00667 " .true .emit COMPONENT_X .emit COMPONENT_Y .emit COMPONENT_Z .emit COMPONENT_W;\n" 00668 "optionalSuffix_1\n" 00669 " dot_ne .and optionalSuffix_2 .error INVALID_SUFFIX;\n" 00670 "optionalSuffix_2\n" 00671 " optionalSuffix_3 .or optionalSuffix_4 .or optionalSuffix_5;\n" 00672 "optionalSuffix_3\n" 00673 " xyzwComponent_multi .and xyzwComponent_multi .and\n" 00674 " xyzwComponent_multi .error INVALID_COMPONENT .and xyzwComponent_multi .error INVALID_COMPONENT;\n" 00675 "optionalSuffix_4\n" 00676 " rgbaComponent_multi .and rgbaComponent_multi .and\n" 00677 " rgbaComponent_multi .error INVALID_COMPONENT .and rgbaComponent_multi .error INVALID_COMPONENT;\n" 00678 "optionalSuffix_5\n" 00679 " \"x\" .emit COMPONENT_X .emit COMPONENT_X .emit COMPONENT_X .emit COMPONENT_X .or\n" 00680 " \"y\" .emit COMPONENT_Y .emit COMPONENT_Y .emit COMPONENT_Y .emit COMPONENT_Y .or\n" 00681 " \"z\" .emit COMPONENT_Z .emit COMPONENT_Z .emit COMPONENT_Z .emit COMPONENT_Z .or\n" 00682 " \"w\" .emit COMPONENT_W .emit COMPONENT_W .emit COMPONENT_W .emit COMPONENT_W .or\n" 00683 " \"r\" .emit COMPONENT_X .emit COMPONENT_X .emit COMPONENT_X .emit COMPONENT_X .or\n" 00684 " \"g\" .emit COMPONENT_Y .emit COMPONENT_Y .emit COMPONENT_Y .emit COMPONENT_Y .or\n" 00685 " \"b\" .emit COMPONENT_Z .emit COMPONENT_Z .emit COMPONENT_Z .emit COMPONENT_Z .or\n" 00686 " \"a\" .emit COMPONENT_W .emit COMPONENT_W .emit COMPONENT_W .emit COMPONENT_W;\n" 00687 "fp_component_single\n" 00688 " xyzwComponent_single .or rgbaComponent_single;\n" 00689 "vp_component_multi\n" 00690 " 'x' .emit COMPONENT_X .or 'y' .emit COMPONENT_Y .or 'z' .emit COMPONENT_Z .or\n" 00691 " 'w' .emit COMPONENT_W;\n" 00692 "vp_component_single\n" 00693 " \"x\" .emit COMPONENT_X .or \"y\" .emit COMPONENT_Y .or \"z\" .emit COMPONENT_Z .or\n" 00694 " \"w\" .emit COMPONENT_W;\n" 00695 "xyzwComponent_multi\n" 00696 " 'x' .emit COMPONENT_X .or 'y' .emit COMPONENT_Y .or 'z' .emit COMPONENT_Z .or\n" 00697 " 'w' .emit COMPONENT_W;\n" 00698 "xyzwComponent_single\n" 00699 " \"x\" .emit COMPONENT_X .or \"y\" .emit COMPONENT_Y .or \"z\" .emit COMPONENT_Z .or\n" 00700 " \"w\" .emit COMPONENT_W;\n" 00701 "rgbaComponent_multi\n" 00702 " 'r' .emit COMPONENT_X .or 'g' .emit COMPONENT_Y .or 'b' .emit COMPONENT_Z .or\n" 00703 " 'a' .emit COMPONENT_W;\n" 00704 "rgbaComponent_single\n" 00705 " \"r\" .emit COMPONENT_X .or \"g\" .emit COMPONENT_Y .or \"b\" .emit COMPONENT_Z .or\n" 00706 " \"a\" .emit COMPONENT_W;\n" 00707 "fp_optionalMask\n" 00708 " rgbaMask .or xyzwMask .or .true .emit 0x0F;\n" 00709 "vp_optionalMask\n" 00710 " xyzwMask .or .true .emit 0x0F;\n" 00711 "xyzwMask\n" 00712 " dot_ne .and xyzwMask_1 .error INVALID_WRITEMASK;\n" 00713 "xyzwMask_1\n" 00714 " \"xyzw\" .emit 0x0F .or \"xyz\" .emit 0x0E .or \"xyw\" .emit 0x0D .or \"xy\" .emit 0x0C .or\n" 00715 " \"xzw\" .emit 0x0B .or \"xz\" .emit 0x0A .or \"xw\" .emit 0x09 .or \"x\" .emit 0x08 .or\n" 00716 " \"yzw\" .emit 0x07 .or \"yz\" .emit 0x06 .or \"yw\" .emit 0x05 .or \"y\" .emit 0x04 .or\n" 00717 " \"zw\" .emit 0x03 .or \"z\" .emit 0x02 .or \"w\" .emit 0x01;\n" 00718 "rgbaMask\n" 00719 " dot_ne .and rgbaMask_1;\n" 00720 "rgbaMask_1\n" 00721 " \"rgba\" .emit 0x0F .or \"rgb\" .emit 0x0E .or \"rga\" .emit 0x0D .or \"rg\" .emit 0x0C .or\n" 00722 " \"rba\" .emit 0x0B .or \"rb\" .emit 0x0A .or \"ra\" .emit 0x09 .or \"r\" .emit 0x08 .or\n" 00723 " \"gba\" .emit 0x07 .or \"gb\" .emit 0x06 .or \"ga\" .emit 0x05 .or \"g\" .emit 0x04 .or\n" 00724 " \"ba\" .emit 0x03 .or \"b\" .emit 0x02 .or \"a\" .emit 0x01;\n" 00725 "fp_namingStatement\n" 00726 " fp_ATTRIB_statement .emit ATTRIB .or\n" 00727 " fp_PARAM_statement .emit PARAM .or\n" 00728 " fp_TEMP_statement .emit TEMP .or\n" 00729 " fp_OUTPUT_statement .emit OUTPUT .or\n" 00730 " fp_ALIAS_statement .emit ALIAS;\n" 00731 "vp_namingStatement\n" 00732 " vp_ATTRIB_statement .emit ATTRIB .or\n" 00733 " vp_PARAM_statement .emit PARAM .or\n" 00734 " vp_TEMP_statement .emit TEMP .or\n" 00735 " ADDRESS_statement .emit ADDRESS .or\n" 00736 " vp_OUTPUT_statement .emit OUTPUT .or\n" 00737 " vp_ALIAS_statement .emit ALIAS;\n" 00738 "fp_ATTRIB_statement\n" 00739 " \"ATTRIB\" .and space .and fp_establishName .and equal .and\n" 00740 " fragAttribBinding .error FRAGMENT_EXPECTED;\n" 00741 "vp_ATTRIB_statement\n" 00742 " \"ATTRIB\" .and space .and vp_establishName .and equal .and\n" 00743 " vtxAttribBinding .error VERTEX_EXPECTED;\n" 00744 "fragAttribBinding\n" 00745 " \"fragment\" .and dot .and fragAttribItem .error INVALID_FRAGMENT_PROPERTY;\n" 00746 "vtxAttribBinding\n" 00747 " \"vertex\" .and dot .and vtxAttribItem .error INVALID_VERTEX_PROPERTY;\n" 00748 "fragAttribItem\n" 00749 " fragAttribItem_1 .emit FRAGMENT_ATTRIB_COLOR .or\n" 00750 " fragAttribItem_2 .emit FRAGMENT_ATTRIB_TEXCOORD .or\n" 00751 " .if (fog_coord != 0x00) \"fogcoord\" .emit FRAGMENT_ATTRIB_FOGCOORD .or\n" 00752 " \"position\" .emit FRAGMENT_ATTRIB_POSITION;\n" 00753 "fragAttribItem_1\n" 00754 " \"color\" .and optColorType;\n" 00755 "fragAttribItem_2\n" 00756 " \"texcoord\" .and optTexCoordNum;\n" 00757 "vtxAttribItem\n" 00758 " \"position\" .emit VERTEX_ATTRIB_POSITION .or\n" 00759 " .if (vertex_blend != 0x00) vtxAttribItem_1 .emit VERTEX_ATTRIB_WEIGHT .or\n" 00760 " \"normal\" .emit VERTEX_ATTRIB_NORMAL .or\n" 00761 " vtxAttribItem_2 .emit VERTEX_ATTRIB_COLOR .or\n" 00762 " \"fogcoord\" .emit VERTEX_ATTRIB_FOGCOORD .or\n" 00763 " vtxAttribItem_3 .emit VERTEX_ATTRIB_TEXCOORD .or\n" 00764 " .if (matrix_palette != 0x00) vtxAttribItem_4 .emit VERTEX_ATTRIB_MATRIXINDEX .or\n" 00765 " vtxAttribItem_5 .emit VERTEX_ATTRIB_GENERIC;\n" 00766 "vtxAttribItem_1\n" 00767 " \"weight\" .and vtxOptWeightNum;\n" 00768 "vtxAttribItem_2\n" 00769 " \"color\" .and optColorType;\n" 00770 "vtxAttribItem_3\n" 00771 " \"texcoord\" .and optTexCoordNum;\n" 00772 "vtxAttribItem_4\n" 00773 " \"matrixindex\" .and lbracket .and vtxWeightNum .and rbracket;\n" 00774 "vtxAttribItem_5\n" 00775 " \"attrib\" .and lbracket .and vtxAttribNum .and rbracket;\n" 00776 "vtxAttribNum\n" 00777 " integer;\n" 00778 "vtxOptWeightNum\n" 00779 " vtxOptWeightNum_1 .or .true .emit 0x00;\n" 00780 "vtxOptWeightNum_1\n" 00781 " lbracket_ne .and vtxWeightNum .and rbracket;\n" 00782 "vtxWeightNum\n" 00783 " integer;\n" 00784 "fp_PARAM_statement\n" 00785 " fp_PARAM_multipleStmt .or fp_PARAM_singleStmt;\n" 00786 "vp_PARAM_statement\n" 00787 " vp_PARAM_multipleStmt .or vp_PARAM_singleStmt;\n" 00788 "fp_PARAM_singleStmt\n" 00789 " \"PARAM\" .and space .and fp_establishName .and .true .emit 0x00 .and fp_paramSingleInit .and\n" 00790 " .true .emit PARAM_NULL;\n" 00791 "vp_PARAM_singleStmt\n" 00792 " \"PARAM\" .and space .and vp_establishName .and .true .emit 0x00 .and vp_paramSingleInit .and\n" 00793 " .true .emit PARAM_NULL;\n" 00794 "fp_PARAM_multipleStmt\n" 00795 " \"PARAM\" .and space .and fp_establishName .and lbracket_ne .and optArraySize .and rbracket .and\n" 00796 " fp_paramMultipleInit .and .true .emit PARAM_NULL;\n" 00797 "vp_PARAM_multipleStmt\n" 00798 " \"PARAM\" .and space .and vp_establishName .and lbracket_ne .and optArraySize .and rbracket .and\n" 00799 " vp_paramMultipleInit .and .true .emit PARAM_NULL;\n" 00800 "optArraySize\n" 00801 " optional_integer;\n" 00802 "fp_paramSingleInit\n" 00803 " equal .and fp_paramSingleItemDecl;\n" 00804 "vp_paramSingleInit\n" 00805 " equal .and vp_paramSingleItemDecl;\n" 00806 "fp_paramMultipleInit\n" 00807 " equal .and lbrace .and fp_paramMultInitList .and rbrace;\n" 00808 "vp_paramMultipleInit\n" 00809 " equal .and lbrace .and vp_paramMultInitList .and rbrace;\n" 00810 "fp_paramMultInitList\n" 00811 " fp_paramMultInitList_1 .or fp_paramMultipleItem;\n" 00812 "vp_paramMultInitList\n" 00813 " vp_paramMultInitList_1 .or vp_paramMultipleItem;\n" 00814 "fp_paramMultInitList_1\n" 00815 " fp_paramMultipleItem .and comma_ne .and fp_paramMultInitList;\n" 00816 "vp_paramMultInitList_1\n" 00817 " vp_paramMultipleItem .and comma_ne .and vp_paramMultInitList;\n" 00818 "fp_paramSingleItemDecl\n" 00819 " fp_stateSingleItem .emit PARAM_STATE_ELEMENT .or\n" 00820 " programSingleItem .emit PARAM_PROGRAM_ELEMENT .or\n" 00821 " paramConstDecl .emit PARAM_CONSTANT;\n" 00822 "vp_paramSingleItemDecl\n" 00823 " vp_stateSingleItem .emit PARAM_STATE_ELEMENT .or\n" 00824 " programSingleItem .emit PARAM_PROGRAM_ELEMENT .or\n" 00825 " paramConstDecl .emit PARAM_CONSTANT;\n" 00826 "fp_paramSingleItemUse\n" 00827 " fp_stateSingleItem .emit PARAM_STATE_ELEMENT .or\n" 00828 " programSingleItem .emit PARAM_PROGRAM_ELEMENT .or\n" 00829 " paramConstUse .emit PARAM_CONSTANT;\n" 00830 "vp_paramSingleItemUse\n" 00831 " vp_stateSingleItem .emit PARAM_STATE_ELEMENT .or\n" 00832 " programSingleItem .emit PARAM_PROGRAM_ELEMENT .or\n" 00833 " paramConstUse .emit PARAM_CONSTANT;\n" 00834 "fp_paramMultipleItem\n" 00835 " fp_stateMultipleItem .emit PARAM_STATE_ELEMENT .or\n" 00836 " programMultipleItem .emit PARAM_PROGRAM_ELEMENT .or\n" 00837 " paramConstDecl .emit PARAM_CONSTANT;\n" 00838 "vp_paramMultipleItem\n" 00839 " vp_stateMultipleItem .emit PARAM_STATE_ELEMENT .or\n" 00840 " programMultipleItem .emit PARAM_PROGRAM_ELEMENT .or\n" 00841 " paramConstDecl .emit PARAM_CONSTANT;\n" 00842 "fp_stateMultipleItem\n" 00843 " stateMultipleItem_1 .or fp_stateSingleItem;\n" 00844 "vp_stateMultipleItem\n" 00845 " stateMultipleItem_1 .or vp_stateSingleItem;\n" 00846 "stateMultipleItem_1\n" 00847 " \"state\" .and dot .and stateMatrixRows .emit STATE_MATRIX_ROWS;\n" 00848 "fp_stateSingleItem\n" 00849 " \"state\" .and dot .and fp_stateSingleItem_1 .error INVALID_STATE_PROPERTY;\n" 00850 "vp_stateSingleItem\n" 00851 " \"state\" .and dot .and vp_stateSingleItem_1 .error INVALID_STATE_PROPERTY;\n" 00852 "fp_stateSingleItem_1\n" 00853 " stateSingleItem_1 .or stateSingleItem_2 .or stateSingleItem_3 .or stateSingleItem_4 .or\n" 00854 " stateSingleItem_5 .or stateSingleItem_7 .or stateSingleItem_8 .or stateSingleItem_11;\n" 00855 "vp_stateSingleItem_1\n" 00856 " stateSingleItem_1 .or stateSingleItem_2 .or stateSingleItem_3 .or stateSingleItem_4 .or\n" 00857 " stateSingleItem_6 .or stateSingleItem_7 .or stateSingleItem_9 .or stateSingleItem_10 .or\n" 00858 " stateSingleItem_11;\n" 00859 "stateSingleItem_1\n" 00860 " stateMaterialItem .emit STATE_MATERIAL;\n" 00861 "stateSingleItem_2\n" 00862 " stateLightItem .emit STATE_LIGHT;\n" 00863 "stateSingleItem_3\n" 00864 " stateLightModelItem .emit STATE_LIGHT_MODEL;\n" 00865 "stateSingleItem_4\n" 00866 " stateLightProdItem .emit STATE_LIGHT_PROD;\n" 00867 "stateSingleItem_5\n" 00868 " stateTexEnvItem .emit STATE_TEX_ENV;\n" 00869 "stateSingleItem_6\n" 00870 " stateTexGenItem .emit STATE_TEX_GEN;\n" 00871 "stateSingleItem_7\n" 00872 " stateFogItem .emit STATE_FOG;\n" 00873 "stateSingleItem_8\n" 00874 " stateDepthItem .emit STATE_DEPTH;\n" 00875 "stateSingleItem_9\n" 00876 " stateClipPlaneItem .emit STATE_CLIP_PLANE;\n" 00877 "stateSingleItem_10\n" 00878 " statePointItem .emit STATE_POINT;\n" 00879 "stateSingleItem_11\n" 00880 " stateMatrixRow .emit STATE_MATRIX_ROWS;\n" 00881 "stateMaterialItem\n" 00882 " \"material\" .and optFaceType .and dot .and stateMatProperty .error INVALID_MATERIAL_PROPERTY;\n" 00883 "stateMatProperty\n" 00884 " \"ambient\" .emit MATERIAL_AMBIENT .or\n" 00885 " \"diffuse\" .emit MATERIAL_DIFFUSE .or\n" 00886 " \"specular\" .emit MATERIAL_SPECULAR .or\n" 00887 " \"emission\" .emit MATERIAL_EMISSION .or\n" 00888 " \"shininess\" .emit MATERIAL_SHININESS;\n" 00889 "stateLightItem\n" 00890 " \"light\" .and lbracket .and stateLightNumber .and rbracket .and dot .and\n" 00891 " stateLightProperty .error INVALID_LIGHT_PROPERTY;\n" 00892 "stateLightProperty\n" 00893 " \"ambient\" .emit LIGHT_AMBIENT .or\n" 00894 " \"diffuse\" .emit LIGHT_DIFFUSE .or\n" 00895 " \"specular\" .emit LIGHT_SPECULAR .or\n" 00896 " \"position\" .emit LIGHT_POSITION .or\n" 00897 " \"attenuation\" .emit LIGHT_ATTENUATION .or\n" 00898 " stateLightProperty_1 .emit LIGHT_SPOT_DIRECTION .or\n" 00899 " \"half\" .emit LIGHT_HALF;\n" 00900 "stateLightProperty_1\n" 00901 " \"spot\" .and dot .and stateSpotProperty .error INVALID_SPOT_PROPERTY;\n" 00902 "stateSpotProperty\n" 00903 " \"direction\";\n" 00904 "stateLightModelItem\n" 00905 " \"lightmodel\" .and stateLModProperty .error INVALID_LIGHTMODEL_PROPERTY;\n" 00906 "stateLModProperty\n" 00907 " stateLModProperty_1 .or stateLModProperty_2;\n" 00908 "stateLModProperty_1\n" 00909 " dot .and \"ambient\" .emit LIGHT_MODEL_AMBIENT;\n" 00910 "stateLModProperty_2\n" 00911 " stateLModProperty_3 .emit LIGHT_MODEL_SCENECOLOR;\n" 00912 "stateLModProperty_3\n" 00913 " optFaceType .and dot .and \"scenecolor\";\n" 00914 "stateLightProdItem\n" 00915 " \"lightprod\" .and lbracket .and stateLightNumber .and rbracket .and optFaceType .and dot .and\n" 00916 " stateLProdProperty .error INVALID_LIGHTPROD_PROPERTY;\n" 00917 "stateLProdProperty\n" 00918 " \"ambient\" .emit LIGHT_PROD_AMBIENT .or\n" 00919 " \"diffuse\" .emit LIGHT_PROD_DIFFUSE .or\n" 00920 " \"specular\" .emit LIGHT_PROD_SPECULAR;\n" 00921 "stateLightNumber\n" 00922 " integer;\n" 00923 "stateTexEnvItem\n" 00924 " \"texenv\" .and optLegacyTexUnitNum .and dot .and\n" 00925 " stateTexEnvProperty .error INVALID_TEXENV_PROPERTY;\n" 00926 "stateTexEnvProperty\n" 00927 " \"color\" .emit TEX_ENV_COLOR;\n" 00928 "optLegacyTexUnitNum\n" 00929 " optLegacyTexUnitNum_1 .or .true .emit 0x00;\n" 00930 "optLegacyTexUnitNum_1\n" 00931 " lbracket_ne .and legacyTexUnitNum .and rbracket;\n" 00932 "legacyTexUnitNum\n" 00933 " integer;\n" 00934 "stateTexGenItem\n" 00935 " \"texgen\" .and optTexCoordNum .and dot .and stateTexGenType .error INVALID_TEXGEN_PROPERTY .and\n" 00936 " dot .and stateTexGenCoord .error INVALID_TEXGEN_COORD;\n" 00937 "stateTexGenType\n" 00938 " \"eye\" .emit TEX_GEN_EYE .or\n" 00939 " \"object\" .emit TEX_GEN_OBJECT;\n" 00940 "stateTexGenCoord\n" 00941 " \"s\" .emit COMPONENT_X .or\n" 00942 " \"t\" .emit COMPONENT_Y .or\n" 00943 " \"r\" .emit COMPONENT_Z .or\n" 00944 " \"q\" .emit COMPONENT_W;\n" 00945 "stateFogItem\n" 00946 " \"fog\" .and dot .and stateFogProperty .error INVALID_FOG_PROPERTY;\n" 00947 "stateFogProperty\n" 00948 " \"color\" .emit FOG_COLOR .or\n" 00949 " \"params\" .emit FOG_PARAMS;\n" 00950 "stateDepthItem\n" 00951 " \"depth\" .and dot .and stateDepthProperty .error INVALID_DEPTH_PROPERTY;\n" 00952 "stateDepthProperty\n" 00953 " \"range\" .emit DEPTH_RANGE;\n" 00954 "stateClipPlaneItem\n" 00955 " \"clip\" .and lbracket .and stateClipPlaneNum .and rbracket .and dot .and\n" 00956 " \"plane\" .error INVALID_CLIPPLANE_PROPERTY;\n" 00957 "stateClipPlaneNum\n" 00958 " integer;\n" 00959 "statePointItem\n" 00960 " \"point\" .and dot .and statePointProperty .error INVALID_POINT_PROPERTY;\n" 00961 "statePointProperty\n" 00962 " \"size\" .emit POINT_SIZE .or\n" 00963 " .if (point_parameters != 0x00) \"attenuation\" .emit POINT_ATTENUATION;\n" 00964 "stateMatrixRow\n" 00965 " stateMatrixItem .and dot .and \"row\" .error MATRIX_ROW_SELECTOR_OR_MODIFIER_EXPECTED .and\n" 00966 " lbracket .and stateMatrixRowNum .and rbracket .emit 0x0;\n" 00967 "stateMatrixRows\n" 00968 " stateMatrixItem .and optMatrixRows;\n" 00969 "optMatrixRows\n" 00970 " optMatrixRows_1 .or .true .emit 0x0 .emit '3' .emit 0x0 .emit $;\n" 00971 "optMatrixRows_1\n" 00972 " dot_ne .and \"row\" .error MATRIX_ROW_SELECTOR_OR_MODIFIER_EXPECTED .and lbracket .and\n" 00973 " stateMatrixRowNum .and dotdot .and stateMatrixRowNum .and rbracket;\n" 00974 "stateMatrixItem\n" 00975 " \"matrix\" .and dot .and stateMatrixName .error INVALID_MATRIX_NAME .and stateOptMatModifier;\n" 00976 "stateOptMatModifier\n" 00977 " stateOptMatModifier_1 .or .true .emit MATRIX_MODIFIER_IDENTITY;\n" 00978 "stateOptMatModifier_1\n" 00979 " dot_ne .and stateMatModifier;\n" 00980 "stateMatModifier\n" 00981 " \"inverse\" .emit MATRIX_MODIFIER_INVERSE .or\n" 00982 " \"transpose\" .emit MATRIX_MODIFIER_TRANSPOSE .or\n" 00983 " \"invtrans\" .emit MATRIX_MODIFIER_INVTRANS;\n" 00984 "stateMatrixRowNum\n" 00985 " integer_0_3;\n" 00986 "stateMatrixName\n" 00987 " stateMatrixName_1_1 .emit MATRIX_MODELVIEW .or\n" 00988 " \"projection\" .emit MATRIX_PROJECTION .or\n" 00989 " \"mvp\" .emit MATRIX_MVP .or\n" 00990 " stateMatrixName_1_2 .emit MATRIX_TEXTURE .or\n" 00991 " .if (matrix_palette != 0x00) stateMatrixName_1_3 .emit MATRIX_PALETTE .or\n" 00992 " stateMatrixName_1_4 .emit MATRIX_PROGRAM;\n" 00993 "stateMatrixName_1_1\n" 00994 " \"modelview\" .and stateOptModMatNum;\n" 00995 "stateMatrixName_1_2\n" 00996 " \"texture\" .and optTexCoordNum;\n" 00997 "stateMatrixName_1_3\n" 00998 " \"palette\" .and lbracket .and statePaletteMatNum .and rbracket;\n" 00999 "stateMatrixName_1_4\n" 01000 " \"program\" .and lbracket .and stateProgramMatNum .and rbracket;\n" 01001 "stateOptModMatNum\n" 01002 " .if (vertex_blend != 0x00) stateOptModMatNum_1 .or\n" 01003 " .true .emit 0x00;\n" 01004 "stateOptModMatNum_1\n" 01005 " lbracket_ne .and stateModMatNum .and rbracket;\n" 01006 "stateModMatNum\n" 01007 " integer;\n" 01008 "optTexCoordNum\n" 01009 " optTexCoordNum_1 .or .true .emit 0x00;\n" 01010 "optTexCoordNum_1\n" 01011 " lbracket_ne .and texCoordNum .and rbracket;\n" 01012 "texCoordNum\n" 01013 " integer;\n" 01014 "statePaletteMatNum\n" 01015 " integer;\n" 01016 "stateProgramMatNum\n" 01017 " integer;\n" 01018 "programSingleItem\n" 01019 " \"program\" .and dot .and programSingleItem_1 .error INVALID_PROGRAM_PROPERTY;\n" 01020 "programSingleItem_1\n" 01021 " progEnvParam .or progLocalParam;\n" 01022 "programMultipleItem\n" 01023 " \"program\" .and dot .and programMultipleItem_1 .error INVALID_PROGRAM_PROPERTY;\n" 01024 "programMultipleItem_1\n" 01025 " progEnvParams .or progLocalParams;\n" 01026 "progEnvParams\n" 01027 " \"env\" .emit PROGRAM_PARAM_ENV .and lbracket .and progEnvParamNums .and rbracket;\n" 01028 "progEnvParamNums\n" 01029 " progEnvParamNums_1 .or progEnvParamNums_2;\n" 01030 "progEnvParamNums_1\n" 01031 " progEnvParamNum .and dotdot_ne .and progEnvParamNum;\n" 01032 "progEnvParamNums_2\n" 01033 " progEnvParamNum .and .true .emit 0x00;\n" 01034 "progEnvParam\n" 01035 " \"env\" .emit PROGRAM_PARAM_ENV .and lbracket .and progEnvParamNum .and rbracket .emit 0x00;\n" 01036 "progLocalParams\n" 01037 " \"local\" .emit PROGRAM_PARAM_LOCAL .and lbracket .and progLocalParamNums .and rbracket;\n" 01038 "progLocalParamNums\n" 01039 " progLocalParamNums_1 .or progLocalParamNums_2;\n" 01040 "progLocalParamNums_1\n" 01041 " progLocalParamNum .and dotdot_ne .and progLocalParamNum;\n" 01042 "progLocalParamNums_2\n" 01043 " progLocalParamNum .and .true .emit 0x00;\n" 01044 "progLocalParam\n" 01045 " \"local\" .emit PROGRAM_PARAM_LOCAL .and lbracket .and progLocalParamNum .and rbracket .emit 0x00;\n" 01046 "progEnvParamNum\n" 01047 " integer;\n" 01048 "progLocalParamNum\n" 01049 " integer;\n" 01050 "paramConstDecl\n" 01051 " paramConstScalarDecl .emit CONSTANT_SCALAR .or paramConstVector .emit CONSTANT_VECTOR;\n" 01052 "paramConstUse\n" 01053 " paramConstScalarUse .emit CONSTANT_SCALAR .or paramConstVector .emit CONSTANT_VECTOR;\n" 01054 "paramConstScalarDecl\n" 01055 " signedFloatConstant;\n" 01056 "paramConstScalarUse\n" 01057 " floatConstant;\n" 01058 "paramConstVector\n" 01059 " paramConstVector_4 .emit 0x04 .or paramConstVector_3 .emit 0x03 .or\n" 01060 " paramConstVector_2 .emit 0x02 .or paramConstVector_1 .emit 0x01;\n" 01061 "paramConstVector_1\n" 01062 " lbrace_ne .and signedFloatConstant .and rbrace;\n" 01063 "paramConstVector_2\n" 01064 " lbrace_ne .and signedFloatConstant .and comma_ne .and signedFloatConstant .and rbrace;\n" 01065 "paramConstVector_3\n" 01066 " lbrace_ne .and signedFloatConstant .and comma_ne .and signedFloatConstant .and comma_ne .and\n" 01067 " signedFloatConstant .and rbrace;\n" 01068 "paramConstVector_4\n" 01069 " lbrace_ne .and signedFloatConstant .and comma_ne .and signedFloatConstant .and comma_ne .and\n" 01070 " signedFloatConstant .and comma_ne .and signedFloatConstant .and rbrace;\n" 01071 "signedFloatConstant\n" 01072 " optionalSign .and floatConstant;\n" 01073 "floatConstant\n" 01074 " float;\n" 01075 "optionalSign\n" 01076 " optional_sign_ne;\n" 01077 "fp_TEMP_statement\n" 01078 " \"TEMP\" .and space .and fp_varNameList .and .true .emit 0x00;\n" 01079 "vp_TEMP_statement\n" 01080 " \"TEMP\" .and space .and vp_varNameList .and .true .emit 0x00;\n" 01081 "ADDRESS_statement\n" 01082 " \"ADDRESS\" .and space .and vp_varNameList .and .true .emit 0x00;\n" 01083 "fp_varNameList\n" 01084 " fp_varNameList_1 .or fp_establishName;\n" 01085 "vp_varNameList\n" 01086 " vp_varNameList_1 .or vp_establishName;\n" 01087 "fp_varNameList_1\n" 01088 " fp_establishName .and comma_ne .and fp_varNameList;\n" 01089 "vp_varNameList_1\n" 01090 " vp_establishName .and comma_ne .and vp_varNameList;\n" 01091 "fp_OUTPUT_statement\n" 01092 " \"OUTPUT\" .and space .and fp_establishName .and equal .and\n" 01093 " fp_resultBinding .error RESULT_EXPECTED;\n" 01094 "vp_OUTPUT_statement\n" 01095 " \"OUTPUT\" .and space .and vp_establishName .and equal .and\n" 01096 " vp_resultBinding .error RESULT_EXPECTED;\n" 01097 "fp_resultBinding\n" 01098 " \"result\" .and dot .and fp_resultBinding_1 .error INVALID_RESULT_PROPERTY;\n" 01099 "vp_resultBinding\n" 01100 " \"result\" .and dot .and vp_resultBinding_1 .error INVALID_RESULT_PROPERTY;\n" 01101 "fp_resultBinding_1\n" 01102 " fp_resultBinding_2 .emit FRAGMENT_RESULT_COLOR .or\n" 01103 " \"depth\" .emit FRAGMENT_RESULT_DEPTH;\n" 01104 "fp_resultBinding_2\n" 01105 " \"color\" .and optOutputColorNum;\n" 01106 "vp_resultBinding_1\n" 01107 " .if (ARB_position_invariant == 0x00) \"position\" .emit VERTEX_RESULT_POSITION .or\n" 01108 " resultColBinding .emit VERTEX_RESULT_COLOR .or\n" 01109 " \"fogcoord\" .emit VERTEX_RESULT_FOGCOORD .or\n" 01110 " \"pointsize\" .emit VERTEX_RESULT_POINTSIZE .or\n" 01111 " vp_resultBinding_2 .emit VERTEX_RESULT_TEXCOORD;\n" 01112 "vp_resultBinding_2\n" 01113 " \"texcoord\" .and optTexCoordNum;\n" 01114 "optOutputColorNum\n" 01115 " .if (ARB_draw_buffers != 0x00) optOutputColorNum_1 .or .true .emit 0x00;\n" 01116 "optOutputColorNum_1\n" 01117 " lbracket_ne .and outputColorNum .and rbracket;\n" 01118 "outputColorNum\n" 01119 " integer;\n" 01120 "resultColBinding\n" 01121 " \"color\" .and optFaceType .and optColorType;\n" 01122 "optFaceType\n" 01123 " FaceType .or .true .emit FACE_FRONT;\n" 01124 "FaceType\n" 01125 " dot_ne .and FaceProperty;\n" 01126 "FaceProperty\n" 01127 " \"front\" .emit FACE_FRONT .or \"back\" .emit FACE_BACK;\n" 01128 "optColorType\n" 01129 " ColorType .or .true .emit COLOR_PRIMARY;\n" 01130 "ColorType\n" 01131 " dot_ne .and ColorProperty;\n" 01132 "ColorProperty\n" 01133 " \"primary\" .emit COLOR_PRIMARY .or\n" 01134 " .if (secondary_color != 0x00) \"secondary\" .emit COLOR_SECONDARY;\n" 01135 "fp_ALIAS_statement\n" 01136 " \"ALIAS\" .and fp_ALIAS_statement_1 .error IDENTIFIER_EXPECTED .and equal .and fp_establishedName;\n" 01137 "vp_ALIAS_statement\n" 01138 " \"ALIAS\" .and vp_ALIAS_statement_1 .error IDENTIFIER_EXPECTED .and equal .and vp_establishedName;\n" 01139 "fp_ALIAS_statement_1\n" 01140 " space .and fp_establishName;\n" 01141 "vp_ALIAS_statement_1\n" 01142 " space .and vp_establishName;\n" 01143 "fp_establishName\n" 01144 " fp_identifier;\n" 01145 "vp_establishName\n" 01146 " vp_identifier;\n" 01147 "fp_establishedName\n" 01148 " fp_identifier;\n" 01149 "vp_establishedName\n" 01150 " vp_identifier;\n" 01151 "fp_establishedName_no_error_on_identifier\n" 01152 " fp_identifier_ne;\n" 01153 "vp_establishedName_no_error_on_identifier\n" 01154 " vp_identifier_ne;\n" 01155 "fp_identifier\n" 01156 " fp_identifier_ne .error IDENTIFIER_EXPECTED;\n" 01157 "vp_identifier\n" 01158 " vp_identifier_ne .error IDENTIFIER_EXPECTED;\n" 01159 "fp_identifier_ne\n" 01160 " fp_not_reserved_identifier .and identifier_ne;\n" 01161 "vp_identifier_ne\n" 01162 " vp_not_reserved_identifier .and identifier_ne;\n" 01163 "fp_not_reserved_identifier\n" 01164 " fp_not_reserved_identifier_1 .or .true;\n" 01165 "fp_not_reserved_identifier_1\n" 01166 " fp_reserved_identifier .and .false .error RESERVED_KEYWORD;\n" 01167 "vp_not_reserved_identifier\n" 01168 " vp_not_reserved_identifier_1 .or .true;\n" 01169 "vp_not_reserved_identifier_1\n" 01170 " vp_reserved_identifier .and .false .error RESERVED_KEYWORD;\n" 01171 "fp_reserved_identifier\n" 01172 " \"ABS\" .or \"ABS_SAT\" .or \"ADD\" .or \"ADD_SAT\" .or \"ALIAS\" .or \"ATTRIB\" .or \"CMP\" .or \"CMP_SAT\" .or\n" 01173 " \"COS\" .or \"COS_SAT\" .or \"DP3\" .or \"DP3_SAT\" .or \"DP4\" .or \"DP4_SAT\" .or \"DPH\" .or \"DPH_SAT\" .or\n" 01174 " \"DST\" .or \"DST_SAT\" .or \"END\" .or \"EX2\" .or \"EX2_SAT\" .or \"FLR\" .or \"FLR_SAT\" .or \"FRC\" .or\n" 01175 " \"FRC_SAT\" .or \"KIL\" .or \"LG2\" .or \"LG2_SAT\" .or \"LIT\" .or \"LIT_SAT\" .or \"LRP\" .or \"LRP_SAT\" .or\n" 01176 " \"MAD\" .or \"MAD_SAT\" .or \"MAX\" .or \"MAX_SAT\" .or \"MIN\" .or \"MIN_SAT\" .or \"MOV\" .or \"MOV_SAT\" .or\n" 01177 " \"MUL\" .or \"MUL_SAT\" .or \"OPTION\" .or \"OUTPUT\" .or \"PARAM\" .or \"POW\" .or \"POW_SAT\" .or \"RCP\" .or\n" 01178 " \"RCP_SAT\" .or \"RSQ\" .or \"RSQ_SAT\" .or \"SIN\" .or \"SIN_SAT\" .or \"SCS\" .or \"SCS_SAT\" .or \"SGE\" .or\n" 01179 " \"SGE_SAT\" .or \"SLT\" .or \"SLT_SAT\" .or \"SUB\" .or \"SUB_SAT\" .or \"SWZ\" .or \"SWZ_SAT\" .or \"TEMP\" .or\n" 01180 " \"TEX\" .or \"TEX_SAT\" .or \"TXB\" .or \"TXB_SAT\" .or \"TXP\" .or \"TXP_SAT\" .or \"XPD\" .or \"XPD_SAT\" .or\n" 01181 " \"fragment\" .or \"program\" .or \"result\" .or \"state\" .or \"texture\";\n" 01182 "vp_reserved_identifier\n" 01183 " \"ABS\" .or \"ADD\" .or \"ADDRESS\" .or \"ALIAS\" .or \"ARL\" .or \"ATTRIB\" .or \"DP3\" .or \"DP4\" .or\n" 01184 " \"DPH\" .or \"DST\" .or \"END\" .or \"EX2\" .or \"EXP\" .or \"FLR\" .or \"FRC\" .or \"LG2\" .or \"LIT\" .or\n" 01185 " \"LOG\" .or \"MAD\" .or \"MAX\" .or \"MIN\" .or \"MOV\" .or \"MUL\" .or \"OPTION\" .or \"OUTPUT\" .or\n" 01186 " \"PARAM\" .or \"POW\" .or \"RCP\" .or \"RSQ\" .or \"SGE\" .or \"SLT\" .or \"SUB\" .or \"SWZ\" .or \"TEMP\" .or\n" 01187 " \"XPD\" .or \"program\" .or \"result\" .or \"state\" .or \"vertex\";\n" 01188 "integer\n" 01189 " integer_ne .error INTEGER_EXPECTED;\n" 01190 "zero\n" 01191 " '0';\n" 01192 "leading_zeroes\n" 01193 " .loop zero;\n" 01194 "no_digit\n" 01195 " no_digit_1 .or .true;\n" 01196 "no_digit_1\n" 01197 " digit10 .and .false .error INTEGER_OUT_OF_RANGE;\n" 01198 "all_zeroes\n" 01199 " all_zeroes_1 .or no_digit_1;\n" 01200 "all_zeroes_1\n" 01201 " '0' .and .loop zero .and no_digit;\n" 01202 "integer_0_3\n" 01203 " integer_0_3_1 .error INTEGER_EXPECTED .and .true .emit 0x00 .emit $;\n" 01204 "integer_0_3_1\n" 01205 " integer_0_3_2 .or all_zeroes .emit '0';\n" 01206 "integer_0_3_2 \n" 01207 " leading_zeroes .and '1'-'3' .emit * .and no_digit;\n" 01208 "integer_0_63\n" 01209 " integer_0_63_1 .error INTEGER_EXPECTED .and .true .emit 0x00 .emit $;\n" 01210 "integer_0_63_1\n" 01211 " integer_0_63_2 .or integer_0_63_3 .or integer_0_63_4 .or integer_0_63_5 .or\n" 01212 " all_zeroes .emit '0';\n" 01213 "integer_0_63_2 \n" 01214 " leading_zeroes .and '7'-'9' .emit * .and no_digit;\n" 01215 "integer_0_63_3 \n" 01216 " leading_zeroes .and '1'-'5' .emit * .and '0'-'9' .emit * .and no_digit;\n" 01217 "integer_0_63_4 \n" 01218 " leading_zeroes .and '6' .emit * .and '0'-'3' .emit * .and no_digit;\n" 01219 "integer_0_63_5 \n" 01220 " leading_zeroes .and '1'-'6' .emit * .and no_digit;\n" 01221 "integer_0_64\n" 01222 " integer_0_64_1 .error INTEGER_EXPECTED .and .true .emit 0x00 .emit $;\n" 01223 "integer_0_64_1\n" 01224 " integer_0_64_2 .or integer_0_64_3 .or integer_0_64_4 .or integer_0_64_5 .or\n" 01225 " all_zeroes .emit '0';\n" 01226 "integer_0_64_2 \n" 01227 " leading_zeroes .and '7'-'9' .emit * .and no_digit;\n" 01228 "integer_0_64_3 \n" 01229 " leading_zeroes .and '1'-'5' .emit * .and '0'-'9' .emit * .and no_digit;\n" 01230 "integer_0_64_4 \n" 01231 " leading_zeroes .and '6' .emit * .and '0'-'4' .emit * .and no_digit;\n" 01232 "integer_0_64_5 \n" 01233 " leading_zeroes .and '1'-'6' .emit * .and no_digit;\n" 01234 "optional_space\n" 01235 " space .or .true;\n" 01236 "space_dst\n" 01237 " space .error OPERATION_NEEDS_DESTINATION_VARIABLE;\n" 01238 "space_src\n" 01239 " space .error OPERATION_NEEDS_SOURCE_VARIABLE;\n" 01240 "space\n" 01241 " single_space .and .loop single_space;\n" 01242 "single_space\n" 01243 " white_char .or comment_block;\n" 01244 "white_char\n" 01245 " ' ' .or '\\t' .or '\\n' .or '\\r';\n" 01246 "comment_block\n" 01247 " '#' .and .loop comment_char .and optional_new_line;\n" 01248 "comment_char\n" 01249 " '\\x0E'-'\\xFF' .or '\\x01'-'\\x09' .or '\\x0B'-'\\x0C';\n" 01250 "optional_new_line\n" 01251 " '\\n' .or crlf .or .true;\n" 01252 "crlf\n" 01253 " '\\r' .and '\\n';\n" 01254 "semicolon\n" 01255 " optional_space .and ';' .error MISSING_SEMICOLON .and optional_space;\n" 01256 "comma\n" 01257 " optional_space .and ',' .error MISSING_COMMA .and optional_space;\n" 01258 "comma_ne\n" 01259 " optional_space .and ',' .and optional_space;\n" 01260 "lbracket\n" 01261 " optional_space .and '[' .error MISSING_LBRACKET .and optional_space;\n" 01262 "lbracket_ne\n" 01263 " optional_space .and '[' .and optional_space;\n" 01264 "rbracket\n" 01265 " optional_space .and ']' .error MISSING_RBRACKET .and optional_space;\n" 01266 "dot\n" 01267 " optional_space .and '.' .error MISSING_DOT .and optional_space;\n" 01268 "dot_ne\n" 01269 " optional_space .and '.' .and optional_space;\n" 01270 "equal\n" 01271 " optional_space .and '=' .error MISSING_EQUAL .and optional_space;\n" 01272 "lbrace\n" 01273 " optional_space .and '{' .error MISSING_LBRACE .and optional_space;\n" 01274 "lbrace_ne\n" 01275 " optional_space .and '{' .and optional_space;\n" 01276 "rbrace\n" 01277 " optional_space .and '}' .error MISSING_RBRACE .and optional_space;\n" 01278 "dotdot\n" 01279 " optional_space .and '.' .and '.' .error MISSING_DOTDOT .and optional_space;\n" 01280 "dotdot_ne\n" 01281 " optional_space .and '.' .and '.' .and optional_space;\n" 01282 "float\n" 01283 " float_1 .or float_2 .or float_legacy;\n" 01284 "float_1\n" 01285 " '.' .emit 0x00 .and integer_ne .error MISSING_FRACTION_OR_EXPONENT .and optional_exponent;\n" 01286 "float_2\n" 01287 " integer_ne .and float_3;\n" 01288 "float_3\n" 01289 " float_4 .or float_5;\n" 01290 "float_4\n" 01291 " '.' .and optional_integer .and optional_exponent;\n" 01292 "float_5\n" 01293 " exponent .emit 0x00;\n" 01294 "float_legacy\n" 01295 " integer_ne .and .true .emit 0x00 .emit 0x00;\n" 01296 "integer_ne\n" 01297 " integer_ne_1 .and .true .emit 0x00 .emit $;\n" 01298 "integer_ne_1\n" 01299 " digit10 .emit * .and .loop digit10 .emit *;\n" 01300 "optional_integer\n" 01301 " integer_ne .or .true .emit 0x00;\n" 01302 "optional_exponent\n" 01303 " exponent .or .true .emit 0x00;\n" 01304 "exponent\n" 01305 " exponent_1 .and optional_sign_ne .and integer_ne .error EXPONENT_VALUE_EXPECTED;\n" 01306 "exponent_1\n" 01307 " 'e' .or 'E';\n" 01308 "optional_sign_ne\n" 01309 " minus_ne .or plus_ne .or .true;\n" 01310 "plus_ne\n" 01311 " optional_space .and '+' .and optional_space;\n" 01312 "minus_ne\n" 01313 " optional_space .and '-' .emit '-' .and optional_space;\n" 01314 "identifier_ne\n" 01315 " first_idchar .emit * .and .loop follow_idchar .emit * .and .true .emit 0x00 .emit $;\n" 01316 "follow_idchar\n" 01317 " first_idchar .or digit10;\n" 01318 "first_idchar\n" 01319 " 'a'-'z' .or 'A'-'Z' .or '_' .or '$';\n" 01320 "digit10\n" 01321 " '0'-'9';\n" 01322 ".string __string_filter;\n" 01323 "__string_filter\n" 01324 " .loop __identifier_char;\n" 01325 "__identifier_char\n" 01326 " 'a'-'z' .or 'A'-'Z' .or '_' .or '$' .or '0'-'9';\n" 01327 "e_signature\n" 01328 " e_signature_char .and .loop e_signature_char;\n" 01329 "e_signature_char\n" 01330 " '!' .or '.' .or 'A'-'Z' .or 'a'-'z' .or '0'-'9';\n" 01331 "e_statement\n" 01332 " .loop e_statement_not_term;\n" 01333 "e_statement_not_term\n" 01334 " '\\x3C'-'\\xFF' .or '\\x0E'-'\\x3A' .or '\\x01'-'\\x09' .or '\\x0B'-'\\x0C';\n" 01335 "e_identifier\n" 01336 " e_identifier_first .and .loop e_identifier_next;\n" 01337 "e_identifier_first\n" 01338 " 'a'-'z' .or 'A'-'Z' .or '_' .or '$';\n" 01339 "e_identifier_next\n" 01340 " e_identifier_first .or '0'-'9';\n" 01341 "e_token\n" 01342 " e_identifier .or e_token_number .or '[' .or ']' .or '.' .or '{' .or '}' .or '=' .or '+' .or\n" 01343 " '-' .or ',' .or ';';\n" 01344 "e_token_number\n" 01345 " e_token_digit .and .loop e_token_digit;\n" 01346 "e_token_digit\n" 01347 " '0'-'9';\n" 01348 "e_charordigit\n" 01349 " 'A'-'Z' .or 'a'-'z' .or '0'-'9';\n" 01350 "" Generated on Fri May 25 2012 04:18:45 for ReactOS by
1.7.6.1
|