Status: fail
Result: fail
Detail | Value |
---|---|
returncode | 1 |
time | 0.248121023178 |
note | Returncode was 1 |
command | /usr/local/src/piglit/framework/../bin/glslparsertest tests/glslparsertest/shaders/CorrectFull.vert pass 1.10 |
errors |
|
info | Returncode: 1 Errors: Failed to compile vertex shader tests/glslparsertest/shaders/CorrectFull.vert: 0(13) : error C0000: syntax error, unexpected ',' at token "," 0(13) : error C0501: type name expected at token "," 0(13) : warning C7537: OpenGL does not allow 'inout' after a type specifier 0(14) : error C1121: test_function1: function type parameters not allowed 0(14) : error C0000: syntax error, unexpected ',' at token "," 0(14) : error C0501: type name expected at token "," 0(14) : warning C7537: OpenGL does not allow 'inout' after a type specifier 0(16) : warning C7537: OpenGL does not allow 'uniform' after a type specifier 0(16) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(16) : error C0501: type name expected at token ";" 0(22) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(22) : error C0501: type name expected at token ";" 0(31) : warning C7537: OpenGL does not allow 'varying' after a type specifier 0(31) : warning C7525: OpenGL does not allow a parameter to be varying 0(35) : warning C7537: OpenGL does not allow 'attribute' after a type specifier 0(41) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(41) : error C0501: type name expected at token ";" 0(44) : warning C7537: OpenGL does not allow 'uniform' after a type specifier 0(44) : warning C7526: OpenGL does not allow a parameter to be uniform 0(46) : warning C7537: OpenGL does not allow 'uniform' after a type specifier 0(46) : warning C7526: OpenGL does not allow a parameter to be uniform 0(49) : warning C7537: OpenGL does not allow 'uniform' after a type specifier 0(49) : warning C7526: OpenGL does not allow a parameter to be uniform 0(63) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(63) : error C0501: type name expected at token ";" 0(66) : warning C7537: OpenGL does not allow 'attribute' after a type specifier 0(67) : warning C7537: OpenGL does not allow 'attribute' after a type specifier 0(68) : warning C7537: OpenGL does not allow 'attribute' after a type specifier 0(69) : warning C7537: OpenGL does not allow 'attribute' after a type specifier 0(70) : warning C7537: OpenGL does not allow 'attribute' after a type specifier 0(71) : warning C7537: OpenGL does not allow 'attribute' after a type specifier 0(72) : warning C7537: OpenGL does not allow 'attribute' after a type specifier 0(74) : warning C7537: OpenGL does not allow 'uniform' after a type specifier 0(74) : warning C7526: OpenGL does not allow a parameter to be uniform 0(75) : warning C7537: OpenGL does not allow 'uniform' after a type specifier 0(75) : warning C7526: OpenGL does not allow a parameter to be uniform 0(76) : warning C7537: OpenGL does not allow 'uniform' after a type specifier 0(76) : warning C7526: OpenGL does not allow a parameter to be uniform 0(78) : warning C7537: OpenGL does not allow 'uniform' after a type specifier 0(78) : warning C7526: OpenGL does not allow a parameter to be uniform 0(78) : warning C7523: OpenGL requires array parameters of constant size 0(78) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(78) : error C0501: type name expected at token ";" 0(79) : warning C7537: OpenGL does not allow 'uniform' after a type specifier 0(79) : warning C7526: OpenGL does not allow a parameter to be uniform 0(81) : warning C7537: OpenGL does not allow 'const' after a type specifier 0(83) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(83) : error C0501: type name expected at token ";" 0(85) : warning C7537: OpenGL does not allow 'varying' after a type specifier 0(85) : warning C7525: OpenGL does not allow a parameter to be varying 0(86) : warning C7537: OpenGL does not allow 'varying' after a type specifier 0(86) : warning C7525: OpenGL does not allow a parameter to be varying 0(87) : warning C7537: OpenGL does not allow 'varying' after a type specifier 0(87) : warning C7525: OpenGL does not allow a parameter to be varying 0(88) : warning C7537: OpenGL does not allow 'varying' after a type specifier 0(88) : warning C7525: OpenGL does not allow a parameter to be varying 0(89) : warning C7537: OpenGL does not allow 'varying' after a type specifier 0(89) : warning C7525: OpenGL does not allow a parameter to be varying 0(90) : warning C7537: OpenGL does not allow 'varying' after a type specifier 0(90) : warning C7525: OpenGL does not allow a parameter to be varying 0(91) : warning C7537: OpenGL does not allow 'varying' after a type specifier 0(91) : warning C7525: OpenGL does not allow a parameter to be varying 0(93) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(93) : error C0501: type name expected at token ";" 0(95) : error C1121: test_function2: function type parameters not allowed 0(95) : error C1109: function type not allowed for parameter "test_function2" 0(96) : error C0000: syntax error, unexpected '{', expecting ',' or ')' at token "{" 0(96) : error C0501: type name expected at token "{" 0(99) : error C0000: syntax error, unexpected ')' at token ")" 0(99) : error C0501: type name expected at token ")" 0(99) : warning C7022: unrecognized profile specifier "light3" 0(99) : error C1109: function type not allowed for parameter "test_function3" 0(100) : error C0000: syntax error, unexpected ')' at token ")" 0(100) : error C0501: type name expected at token ")" 0(100) : warning C7022: unrecognized profile specifier "ll20" 0(100) : warning C7022: unrecognized profile specifier "light5" 0(100) : error C1109: function type not allowed for parameter "test_function4" 0(101) : error C0000: syntax error, unexpected ')' at token ")" 0(101) : error C0501: type name expected at token ")" 0(101) : warning C7022: unrecognized profile specifier "light1" 0(101) : error C1109: function type not allowed for parameter "test_function5" 0(102) : error C1109: function type not allowed for parameter "test_function6" 0(102) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(102) : error C0501: type name expected at token ";" 0(104) : warning C7537: OpenGL does not allow 'const' after a type specifier 0(104) : error C0000: syntax error, unexpected '=' at token "=" 0(104) : error C0501: type name expected at token "=" 0(104) : warning C7022: unrecognized profile specifier "floatConst2" 0(105) : warning C7537: OpenGL does not allow 'const' after a type specifier 0(105) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(105) : error C0501: type name expected at token ";" 0(106) : warning C7537: OpenGL does not allow 'const' after a type specifier 0(106) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(106) : error C0501: type name expected at token ";" 0(108) : error C1109: function type not allowed for parameter "main" 0(109) : error C0000: syntax error, unexpected '{', expecting ',' or ')' at token "{" 0(109) : error C0501: type name expected at token "{" 0(111) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(111) : error C0501: type name expected at token ";" 0(121) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(121) : error C0501: type name expected at token ";" 0(122) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(122) : error C0501: type name expected at token ";" 0(124) : error C0000: syntax error, unexpected ';' at token ";" 0(124) : error C0501: type name expected at token ";" 0(124) : warning C7022: unrecognized profile specifier "newStruct1" 0(125) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(125) : error C0501: type name expected at token ";" 0(126) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(126) : error C0501: type name expected at token ";" 0(128) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(128) : error C0501: type name expected at token ";" 0(131) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(131) : error C0501: type name expected at token ";" 0(133) : warning C7537: OpenGL does not allow 'const' after a type specifier 0(135) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(135) : error C0501: type name expected at token ";" 0(137) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(137) : error C0501: type name expected at token ";" 0(138) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(138) : error C0501: type name expected at token ";" 0(139) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(139) : error C0501: type name expected at token ";" 0(140) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(140) : error C0501: type name expected at token ";" 0(141) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(141) : error C0501: type name expected at token ";" 0(143) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(143) : error C0501: type name expected at token ";" 0(144) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(144) : error C0501: type name expected at token ";" 0(148) : warning C7523: OpenGL requires array parameters of constant size 0(148) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(148) : error C0501: type name expected at token ";" 0(149) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(149) : error C0501: type name expected at token ";" 0(150) : error C1043: size of dimension cannot be less than 1 0(150) : error C0000: syntax error, unexpected '.', expecting ',' or ')' at token "." 0(150) : error C0501: type name expected at token "." 0(150) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(150) : error C0501: type name expected at token ";" 0(152) : error C1043: size of dimension cannot be less than 1 0(152) : error C0000: syntax error, unexpected '.', expecting ',' or ')' at token "." 0(152) : error C0501: type name expected at token "." 0(152) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(152) : error C0501: type name expected at token ";" 0(155) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(155) : error C0501: type name expected at token ";" 0(157) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(157) : error C0501: type name expected at token ";" 0(159) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(159) : error C0501: type name expected at token ";" 0(160) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(160) : error C0501: type name expected at token ";" 0(162) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(162) : error C0501: type name expected at token ";" 0(163) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(163) : error C0501: type name expected at token ";" 0(164) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(164) : error C0501: type name expected at token ";" 0(165) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(165) : error C0501: type name expected at token ";" 0(166) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(166) : error C0501: type name expected at token ";" 0(167) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(167) : error C0501: type name expected at token ";" 0(168) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(168) : error C0501: type name expected at token ";" 0(169) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(169) : error C0501: type name expected at token ";" 0(171) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(171) : error C0501: type name expected at token ";" 0(172) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(172) : error C0501: type name expected at token ";" 0(174) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(174) : error C0501: type name expected at token ";" 0(176) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(176) : error C0501: type name expected at token ";" 0(177) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(177) : error C0501: type name expected at token ";" 0(179) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(179) : error C0501: type name expected at token ";" 0(181) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(181) : error C0501: type name expected at token ";" 0(182) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(182) : error C0501: type name expected at token ";" 0(183) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(183) : error C0501: type name expected at token ";" 0(185) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(185) : error C0501: type name expected at token ";" 0(186) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(186) : error C0501: type name expected at token ";" 0(187) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(187) : error C0501: type name expected at token ";" 0(188) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(188) : error C0501: type name expected at token ";" 0(190) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(190) : error C0501: type name expected at token ";" 0(191) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(191) : error C0501: type name expected at token ";" 0(193) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(193) : error C0501: type name expected at token ";" 0(195) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(195) : error C0501: type name expected at token ";" 0(196) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(196) : error C0501: type name expected at token ";" 0(197) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(197) : error C0501: type name expected at token ";" 0(199) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(199) : error C0501: type name expected at token ";" 0(200) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(200) : error C0501: type name expected at token ";" 0(202) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(202) : error C0501: type name expected at token ";" 0(203) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(203) : error C0501: type name expected at token ";" 0(204) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(204) : error C0501: type name expected at token ";" 0(207) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(207) : error C0501: type name expected at token ";" 0(208) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(208) : error C0501: type name expected at token ";" 0(209) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(209) : error C0501: type name expected at token ";" 0(214) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(214) : error C0501: type name expected at token ";" 0(215) : warning C7523: OpenGL requires array parameters of constant size 0(215) : error C0000: syntax error, unexpected ';', expecting ',' or ')' at token ";" 0(215) : error C0501: type name expected at token ";" 0(221) : error C0000: syntax error, unexpected '[' at token "[" 0(221) : error C0501: type name expected at token "[" 0(221) : warning C7022: unrecognized profile specifier "freq2" 0(223) : error C0000: syntax error, unexpected '[' at token "[" 0(223) : error C0501: type name expected at token "[" 0(223) : warning C7022: unrecognized profile specifier "freq2" 0(224) : warning C7022: unrecognized profile specifier "freq2" 0(224) : error C1038: declaration of "array_index" conflicts with previous declaration at 0(222) 0(224) : warning C7522: OpenGL requires constants to be initialized 0(228) : error C0000: syntax error, unexpected '=' at token "=" 0(228) : error C0501: type name expected at token "=" 0(228) : warning C7022: unrecognized profile specifier "test_float1" 0(232) : error C0000: syntax error, unexpected '(' at token "(" 0(232) : error C0501: type name expected at token "(" 0(232) : warning C7022: unrecognized profile specifier "test_function" 0(232) : error C1038: declaration of "test_int1" conflicts with previous declaration at 0(223) 0(232) : error C1038: declaration of "test_int1" conflicts with previous declaration at 0(223) 0(232) : error C0000: syntax error, unexpected ')', expecting ',' or ';' at token ")" 0(232) : error C0501: type name expected at token ")" 0(233) : warning C7022: unrecognized profile specifier "test_function" 0(233) : error C1038: declaration of "test_int1" conflicts with previous declaration at 0(223) 0(233) : error C1038: declaration of "intArray" conflicts with previous declaration at 0(231) 0(233) : error C0000: syntax error, unexpected ')', expecting ',' or ';' at token ")" 0(233) : error C0501: type name expected at token ")" 0(238) : error C0000: syntax error, unexpected '=' at token "=" 0(238) : error C0501: type name expected at token "=" 0(238) : warning C7022: unrecognized profile specifier "test_float1" 0(238) : error C1038: declaration of "bool_var" conflicts with previous declaration at 0(236) 0(239) : warning C7022: unrecognized profile specifier "test_float1" 0(239) : error C1038: declaration of "test_int6" conflicts with previous declaration at 0(237) 0(240) : warning C7022: unrecognized profile specifier "test_int6" 0(241) : warning C7022: unrecognized profile specifier "bool_var" 0(241) : error C1038: declaration of "test_int6" conflicts with previous declaration at 0(237) 0(242) : warning C7022: unrecognized profile specifier "bool_var" 0(242) : error C1038: declaration of "test_float1" conflicts with previous declaration at 0(240) 0(243) : warning C7022: unrecognized profile specifier "test_float1" 0(245) : warning C7022: unrecognized profile specifier "test_vec2" 0(246) : error C0000: syntax error, unexpected '.' at token "." 0(246) : error C0501: type name expected at token "." 0(246) : warning C7022: unrecognized profile specifier "test_vec2" 0(247) : error C0000: syntax error, unexpected '.' at token "." 0(247) : error C0501: type name expected at token "." 0(247) : warning C7022: unrecognized profile specifier "test_vec2" 0(250) : error C0000: syntax error, unexpected '.' at token "." 0(250) : error C0501: type name expected at token "." 0(250) : warning C7022: unrecognized profile specifier "color" 0(252) : error C0000: syntax error, unexpected '[' at token "[" 0(252) : error C0501: type name expected at token "[" 0(252) : warning C7022: unrecognized profile specifier "test_vec2" 0(254) : warning C7022: unrecognized profile specifier "test_mat2" 0(256) : warning C7022: unrecognized profile specifier "test_float1" 0(257) : warning C7022: unrecognized profile specifier "test_float1" 0(258) : warning C7022: unrecognized profile specifier "test_float1" 0(259) : warning C7022: unrecognized profile specifier "test_float1" 0(261) : warning C7022: unrecognized profile specifier "test_mat12" 0(262) : error C0000: syntax error, unexpected "*=" at token "*=" 0(262) : error C0501: type name expected at token "*=" 0(262) : warning C7022: unrecognized profile specifier "test_mat12" 0(262) : error C1038: declaration of "test_float1" conflicts with previous declaration at 0(240) 0(263) : error C0000: syntax error, unexpected "*=" at token "*=" 0(263) : error C0501: type name expected at token "*=" 0(263) : warning C7022: unrecognized profile specifier "test_vec2" 0(263) : error C1038: declaration of "test_float1" conflicts with previous declaration at 0(240) 0(264) : error C0000: syntax error, unexpected "*=" at token "*=" 0(264) : error C0501: type name expected at token "*=" 0(264) : warning C7022: unrecognized profile specifier "test_vec2" 0(265) : error C0000: syntax error, unexpected "++" at token "++" 0(265) : error C0501: type name expected at token "++" 0(265) : warning C7022: unrecognized profile specifier "test_float1" 0(266) : warning C7022: unrecognized profile specifier "test_float1" 0(267) : error C1038: declaration of "test_float1" conflicts with previous declaration at 0(240) 0(268) : error C1038: declaration of "test_float1" conflicts with previous declaration at 0(240) 0(269) : error C0000: syntax error, unexpected ';' at token ";" 0(269) : error C0501: type name expected at token ";" 0(269) : warning C7022: unrecognized profile specifier "test_float1" 0(270) : warning C7022: unrecognized profile specifier "test_int1" 0(271) : warning C7022: unrecognized profile specifier "test_int1" 0(273) : warning C7022: unrecognized profile specifier "test_vec2" 0(273) : error C1038: declaration of "test_float1" conflicts with previous declaration at 0(240) 0(274) : error C0000: syntax error, unexpected '=' at token "=" 0(274) : error C0501: type name expected at token "=" 0(274) : warning C7022: unrecognized profile specifier "test_vec2" 0(274) : error C1038: declaration of "test_float1" conflicts with previous declaration at 0(240) 0(274) : error C1038: declaration of "test_vec2" conflicts with previous declaration at 0(273) 0(276) : error C0000: syntax error, unexpected '=' at token "=" 0(276) : error C0501: type name expected at token "=" 0(276) : warning C7022: unrecognized profile specifier "test_mat12" 0(276) : error C1038: declaration of "test_mat12" conflicts with previous declaration at 0(264) 0(276) : warning C7531: pointers require "#extension GL_NV_shader_buffer_load : enable" before use 0(276) : error C1038: declaration of "test_mat13" conflicts with previous declaration at 0(261) 0(277) : error C0000: syntax error, unexpected '=' at token "=" 0(277) : error C0501: type name expected at token "=" 0(277) : warning C7022: unrecognized profile specifier "test_vec2" 0(277) : error C1038: declaration of "test_vec2" conflicts with previous declaration at 0(273) 0(277) : warning C7531: pointers require "#extension GL_NV_shader_buffer_load : enable" before use 0(279) : error C0000: syntax error, unexpected "++" at token "++" 0(279) : error C0501: type name expected at token "++" 0(279) : warning C7022: unrecognized profile specifier "test_vec2" 0(280) : warning C7022: unrecognized profile specifier "test_mat2" 0(286) : error C0000: syntax error, unexpected '=' at token "=" 0(286) : error C0501: type name expected at token "=" 0(286) : warning C7022: unrecognized profile specifier "test_bool3" 0(286) : error C1038: declaration of "test_vec2" conflicts with previous declaration at 0(273) 0(286) : error C1038: declaration of "test_vec5" conflicts with previous declaration at 0(277) 0(288) : error C0000: syntax error, unexpected '=' at token "=" 0(288) : error C0501: type name expected at token "=" 0(288) : warning C7022: unrecognized profile specifier "test_bool2" 0(288) : error C1038: declaration of "test_bool3" conflicts with previous declaration at 0(284) 0(289) : error C0000: syntax error, unexpected '=' at token "=" 0(289) : error C0501: type name expected at token "=" 0(289) : warning C7022: unrecognized profile specifier "test_bool2" 0(289) : error C1038: declaration of "test_bool3" conflicts with previous declaration at 0(284) 0(289) : error C1038: declaration of "test_bool4" conflicts with previous declaration at 0(288) 0(290) : error C0000: syntax error, unexpected '=' at token "=" 0(290) : error C0501: type name expected at token "=" 0(290) : warning C7022: unrecognized profile specifier "test_bool2" 0(290) : error C1038: declaration of "test_bool3" conflicts with previous declaration at 0(284) 0(290) : error C1038: declaration of "test_bool4" conflicts with previous declaration at 0(288) 0(292) : error C0000: syntax error, unexpected '=' at token "=" 0(292) : error C0501: type name expected at token "=" 0(292) : warning C7022: unrecognized profile specifier "test_bool2" 0(292) : error C1038: declaration of "test_bool3" conflicts with previous declaration at 0(284) 0(294) : error C0000: syntax error, unexpected '=' at token "=" 0(294) : error C0501: type name expected at token "=" 0(294) : warning C7022: unrecognized profile specifier "test_bool3" 0(294) : error C1038: declaration of "test_int1" conflicts with previous declaration at 0(223) 0(294) : error C1038: declaration of "test_int6" conflicts with previous declaration at 0(237) 0(296) : warning C7022: unrecognized profile specifier "test_float1" 0(296) : error C1038: declaration of "test_int1" conflicts with previous declaration at 0(223) 0(296) : error C1038: declaration of "test_int6" conflicts with previous declaration at 0(237) 0(296) : warning C7557: OpenGL does not allow Cg-style semantics 0(297) : error C0000: syntax error, unexpected '=' at token "=" 0(297) : error C0501: type name expected at token "=" 0(297) : warning C7022: unrecognized profile specifier "test_vec2" 0(297) : error C1038: declaration of "test_int1" conflicts with previous declaration at 0(223) 0(297) : error C1038: declaration of "test_int6" conflicts with previous declaration at 0(237) 0(297) : warning C7557: OpenGL does not allow Cg-style semantics 0(297) : error C1038: declaration of "test_vec2" conflicts with previous declaration at 0(273) 0(298) : error C0000: syntax error, unexpected reserved word "if" at token "if" 0(298) : error C0501: type name expected at token "if" 0(298) : error C1038: declaration of "test_bool2" conflicts with previous declaration at 0(282) 0(299) : error C1038: declaration of "test_float1" conflicts with previous declaration at 0(240) 0(301) : error C1038: declaration of "test_float1" conflicts with previous declaration at 0(240) 0(303) : error C1038: declaration of "test_float1" conflicts with previous declaration at 0(240) 0(303) : error C1038: declaration of "test_float2" conflicts with previous declaration at 0(296) 0(304) : error C1038: declaration of "test_float1" conflicts with previous declaration at 0(240) 0(306) : error C1038: declaration of "test_bool2" conflicts with previous declaration at 0(282) 0(309) : error C0000: syntax error, unexpected "++" at token "++" 0(309) : error C0501: type name expected at token "++" 0(309) : warning C7022: unrecognized profile specifier "test_float1" 0(312) : error C1038: declaration of "test_bool2" conflicts with previous declaration at 0(282) 0(313) : error C1038: declaration of "test_bool3" conflicts with previous declaration at 0(284) 0(314) : error C1038: declaration of "test_bool3" conflicts with previous declaration at 0(284) 0(315) : error C1038: declaration of "test_float1" conflicts with previous declaration at 0(240) 0(317) : error C0000: syntax error, unexpected '<' at token "<" 0(317) : error C0501: type name expected at token "<" 0(317) : warning C7022: unrecognized profile specifier "for_int" 0(317) : warning C7022: unrecognized profile specifier "for_int" 0(323) : warning C7022: unrecognized profile specifier "test_bool2" 0(325) : error C1038: declaration of "for_int" conflicts with previous declaration at 0(317) 0(328) : warning C7022: unrecognized profile specifier "test_bool2" 0(328) : error C1038: declaration of "test_float1" conflicts with previous declaration at 0(240) 0(328) : error C1038: declaration of "test_float2" conflicts with previous declaration at 0(296) 0(332) : error C0000: syntax error, unexpected ';' at token ";" 0(332) : error C0501: type name expected at token ";" 0(332) : warning C7022: unrecognized profile specifier "test_bool2" 0(334) : error C1038: declaration of "for_int" conflicts with previous declaration at 0(317) 0(337) : warning C7022: unrecognized profile specifier "test_bool2" 0(337) : warning C7022: unrecognized profile specifier "test_float1" 0(342) : error C0000: syntax error, unexpected ')', expecting ',' or ';' at token ")" 0(342) : error C0501: type name expected at token ")" 0(357) : error C1038: declaration of "test_bool2" conflicts with previous declaration at 0(282) 0(364) : error C0000: syntax error, unexpected '=' at token "=" 0(364) : error C0501: type name expected at token "=" 0(364) : warning C7022: unrecognized profile specifier "dowhile_int" 0(365) : error C1038: declaration of "test_bool2" conflicts with previous declaration at 0(282) 0(369) : warning C7022: unrecognized profile specifier "gl_PointSize" 0(370) : warning C7022: unrecognized profile specifier "gl_ClipVertex" 0(372) : error C0000: syntax error, unexpected '=' at token "=" 0(372) : error C0501: type name expected at token "=" 0(372) : warning C7022: unrecognized profile specifier "gl_Position" 0(373) : error C0000: syntax error, unexpected '=' at token "=" 0(373) : error C0501: type name expected at token "=" 0(373) : warning C7022: unrecognized profile specifier "gl_Position" 0(378) : error C0000: syntax error, unexpected '=' at token "=" 0(378) : error C0501: type name expected at token "=" 0(378) : warning C7022: unrecognized profile specifier "builtInV4" 0(378) : warning C7022: unrecognized profile specifier "vec4" 0(378) : error C1038: declaration of "gl_Vertex" conflicts with previous declaration at 0(373) 0(386) : error C0000: syntax error, unexpected ';' at token ";" 0(386) : error C0501: type name expected at token ";" 0(386) : warning C7022: unrecognized profile specifier "gl_NormalMatrix" 0(388) : warning C7022: unrecognized profile specifier "gl_TextureMatrix" 0(389) : warning C7022: unrecognized profile specifier "gl_TextureMatrix" 0(390) : warning C7022: unrecognized profile specifier "gl_NormalScale" 0(392) : warning C7022: unrecognized profile specifier "gl_DepthRange" 0(394) : error C0000: syntax error, unexpected '=' at token "=" 0(394) : error C0501: type name expected at token "=" 0(394) : warning C7022: unrecognized profile specifier "test_float1" 0(394) : error C1038: declaration of "near" conflicts with previous declaration at 0(392) 0(395) : error C0000: syntax error, unexpected '=' at token "=" 0(395) : error C0501: type name expected at token "=" 0(395) : warning C7022: unrecognized profile specifier "test_float1" 0(395) : error C1038: declaration of "gl_DepthRange" conflicts with previous declaration at 0(394) 0(396) : error C0000: syntax error, unexpected '=' at token "=" 0(396) : error C0501: type name expected at token "=" 0(396) : warning C7022: unrecognized profile specifier "test_float1" 0(396) : error C1038: declaration of "gl_DepthRange" conflicts with previous declaration at 0(394) 0(398) : error C0000: syntax error, unexpected '[' at token "[" 0(398) : error C0501: type name expected at token "[" 0(398) : warning C7022: unrecognized profile specifier "gl_ClipPlane" 0(400) : warning C7022: unrecognized profile specifier "gl_Point" 0(401) : error C0000: syntax error, unexpected '.' at token "." 0(401) : error C0501: type name expected at token "." 0(401) : warning C7022: unrecognized profile specifier "gl_Point" 0(402) : error C0000: syntax error, unexpected '.' at token "." 0(402) : error C0501: type name expected at token "." 0(402) : warning C7022: unrecognized profile specifier "gl_Point" 0(403) : error C0000: syntax error, unexpected '.' at token "." 0(403) : error C0501: type name expected at token "." 0(403) : warning C7022: unrecognized profile specifier "gl_Point" 0(404) : error C0000: syntax error, unexpected '.' at token "." 0(404) : error C0501: type name expected at token "." 0(404) : warning C7022: unrecognized profile specifier "gl_Point" 0(405) : error C0000: syntax error, unexpected '.' at token "." 0(405) : error C0501: type name expected at token "." 0(405) : warning C7022: unrecognized profile specifier "gl_Point" 0(406) : error C0000: syntax error, unexpected '.' at token "." 0(406) : error C0501: type name expected at token "." 0(406) : warning C7022: unrecognized profile specifier "gl_Point" 0(409) : error C0000: syntax error, unexpected '.' at token "." 0(409) : error C0501: type name expected at token "." 0(409) : warning C7022: unrecognized profile specifier "gl_FrontMaterial" 0(411) : error C0000: syntax error, unexpected '=' at token "=" 0(411) : error C0501: type name expected at token "=" 0(411) : warning C7022: unrecognized profile specifier "color" 0(411) : error C1038: declaration of "emission" conflicts with previous declaration at 0(409) 0(412) : error C0000: syntax error, unexpected '=' at token "=" 0(412) : error C0501: type name expected at token "=" 0(412) : warning C7022: unrecognized profile specifier "color" 0(412) : error C1038: declaration of "gl_FrontMaterial" conflicts with previous declaration at 0(411) 0(413) : error C0000: syntax error, unexpected '=' at token "=" 0(413) : error C0501: type name expected at token "=" 0(413) : warning C7022: unrecognized profile specifier "color" 0(413) : error C1038: declaration of "gl_FrontMaterial" conflicts with previous declaration at 0(411) 0(414) : error C0000: syntax error, unexpected '=' at token "=" 0(414) : error C0501: type name expected at token "=" 0(414) : warning C7022: unrecognized profile specifier "color" 0(414) : error C1038: declaration of "gl_FrontMaterial" conflicts with previous declaration at 0(411) 0(415) : error C0000: syntax error, unexpected '=' at token "=" 0(415) : error C0501: type name expected at token "=" 0(415) : warning C7022: unrecognized profile specifier "test_float1" 0(415) : error C1038: declaration of "gl_FrontMaterial" conflicts with previous declaration at 0(411) 0(420) : error C0000: syntax error, unexpected '=' at token "=" 0(420) : error C0501: type name expected at token "=" 0(420) : warning C7022: unrecognized profile specifier "color" 0(420) : error C1043: size of dimension cannot be less than 1 0(420) : error C0000: syntax error, unexpected '.', expecting ',' or ';' at token "." 0(420) : error C0501: type name expected at token "." 0(420) : error C1038: declaration of "ambient" conflicts with previous declaration at 0(412) 0(421) : error C0000: syntax error, unexpected '=' at token "=" 0(421) : error C0501: type name expected at token "=" 0(421) : warning C7022: unrecognized profile specifier "color" 0(421) : error C1038: declaration of "lightSource" conflicts with previous declaration at 0(417) 0(421) : error C1038: declaration of "ambient" conflicts with previous declaration at 0(412) 0(422) : error C0000: syntax error, unexpected '=' at token "=" 0(422) : error C0501: type name expected at token "=" 0(422) : warning C7022: unrecognized profile specifier "color" 0(422) : error C1038: declaration of "lightSource" conflicts with previous declaration at 0(417) 0(422) : error C1038: declaration of "diffuse" conflicts with previous declaration at 0(413) 0(423) : error C0000: syntax error, unexpected '=' at token "=" 0(423) : error C0501: type name expected at token "=" 0(423) : warning C7022: unrecognized profile specifier "color" 0(423) : error C1038: declaration of "lightSource" conflicts with previous declaration at 0(417) 0(423) : error C1038: declaration of "specular" conflicts with previous declaration at 0(414) 0(424) : error C0000: syntax error, unexpected '=' at token "=" 0(424) : error C0501: type name expected at token "=" 0(424) : warning C7022: unrecognized profile specifier "color" 0(424) : error C1038: declaration of "lightSource" conflicts with previous declaration at 0(417) 0(425) : error C0000: syntax error, unexpected '=' at token "=" 0(425) : error C0501: type name expected at token "=" 0(425) : warning C7022: unrecognized profile specifier "color" 0(425) : error C1038: declaration of "lightSource" conflicts with previous declaration at 0(417) 0(426) : error C0000: syntax error, unexpected '=' at token "=" 0(426) : error C0501: type name expected at token "=" 0(426) : warning C7022: unrecognized profile specifier "color4" 0(426) : error C1038: declaration of "lightSource" conflicts with previous declaration at 0(417) 0(427) : error C0000: syntax error, unexpected '=' at token "=" 0(427) : error C0501: type name expected at token "=" 0(427) : warning C7022: unrecognized profile specifier "test_float1" 0(427) : error C1038: declaration of "lightSource" conflicts with previous declaration at 0(417) 0(428) : error C0000: syntax error, unexpected '=' at token "=" 0(428) : error C0501: type name expected at token "=" 0(428) : warning C7022: unrecognized profile specifier "test_float1" 0(428) : error C1038: declaration of "lightSource" conflicts with previous declaration at 0(417) 0(429) : error C0000: syntax error, unexpected '=' at token "=" 0(429) : error C0501: type name expected at token "=" 0(429) : warning C7022: unrecognized profile specifier "test_float1" 0(429) : error C1038: declaration of "lightSource" conflicts with previous declaration at 0(417) 0(430) : error C0000: syntax error, unexpected '=' at token "=" 0(430) : error C0501: type name expected at token "=" 0(430) : warning C7022: unrecognized profile specifier "test_float1" 0(430) : error C1038: declaration of "lightSource" conflicts with previous declaration at 0(417) 0(431) : error C0000: syntax error, unexpected '=' at token "=" 0(431) : error C0501: type name expected at token "=" 0(431) : warning C7022: unrecognized profile specifier "test_float1" 0(431) : error C1038: declaration of "lightSource" conflicts with previous declaration at 0(417) 0(432) : error C0000: syntax error, unexpected '=' at token "=" 0(432) : error C0501: type name expected at token "=" 0(432) : warning C7022: unrecognized profile specifier "test_float1" 0(432) : error C1038: declaration of "lightSource" conflicts with previous declaration at 0(417) 0(434) : error C0000: syntax error, unexpected '=' at token "=" 0(434) : error C0501: type name expected at token "=" 0(434) : warning C7022: unrecognized profile specifier "color" 0(434) : error C1038: declaration of "ambient" conflicts with previous declaration at 0(412) 0(437) : error C0000: syntax error, unexpected '=' at token "=" 0(437) : error C0501: type name expected at token "=" 0(437) : warning C7022: unrecognized profile specifier "color" 0(437) : error C1038: declaration of "gl_LightModel" conflicts with previous declaration at 0(434) 0(437) : error C1038: declaration of "ambient" conflicts with previous declaration at 0(412) 0(438) : error C0000: syntax error, unexpected '=' at token "=" 0(438) : error C0501: type name expected at token "=" 0(438) : warning C7022: unrecognized profile specifier "color" 0(438) : error C1038: declaration of "lightModel" conflicts with previous declaration at 0(436) 0(438) : error C1038: declaration of "ambient" conflicts with previous declaration at 0(412) 0(440) : error C0000: syntax error, unexpected '=' at token "=" 0(440) : error C0501: type name expected at token "=" 0(440) : warning C7022: unrecognized profile specifier "color" 0(444) : error C0000: syntax error, unexpected '=' at token "=" 0(444) : error C0501: type name expected at token "=" 0(444) : warning C7022: unrecognized profile specifier "color" 0(444) : error C1038: declaration of "lightModelProd" conflicts with previous declaration at 0(442) 0(444) : error C1038: declaration of "sceneColor" conflicts with previous declaration at 0(440) 0(445) : error C0000: syntax error, unexpected '=' at token "=" 0(445) : error C0501: type name expected at token "=" 0(445) : warning C7022: unrecognized profile specifier "color" 0(445) : error C1038: declaration of "gl_FrontLightModelProduct" conflicts with previous declaration at 0(440) 0(445) : error C1038: declaration of "sceneColor" conflicts with previous declaration at 0(440) 0(447) : error C0000: syntax error, unexpected '=' at token "=" 0(447) : error C0501: type name expected at token "=" 0(447) : warning C7022: unrecognized profile specifier "color" 0(447) : error C1043: size of dimension cannot be less than 1 0(447) : error C0000: syntax error, unexpected '.', expecting ',' or ';' at token "." 0(447) : error C0501: type name expected at token "." 0(447) : error C1038: declaration of "ambient" conflicts with previous declaration at 0(412) 0(448) : error C0000: syntax error, unexpected '=' at token "=" 0(448) : error C0501: type name expected at token "=" 0(448) : warning C7022: unrecognized profile specifier "color" 0(448) : error C1043: size of dimension cannot be less than 1 0(448) : error C1038: declaration of "gl_FrontLightProduct" conflicts with previous declaration at 0(447) 0(448) : error C0000: syntax error, unexpected '.', expecting ',' or ';' at token "." 0(448) : error C0501: type name expected at token "." 0(448) : error C1038: declaration of "ambient" conflicts with previous declaration at 0(412) 0(451) : error C0000: syntax error, unexpected '=' at token "=" 0(451) : error C0501: type name expected at token "=" 0(451) : warning C7022: unrecognized profile specifier "color" 0(451) : error C1038: declaration of "lightProd" conflicts with previous declaration at 0(449) 0(451) : error C1038: declaration of "ambient" conflicts with previous declaration at 0(412) 0(452) : error C0000: syntax error, unexpected '=' at token "=" 0(452) : error C0501: type name expected at token "=" 0(452) : warning C7022: unrecognized profile specifier "color" 0(452) : error C1038: declaration of "lightProd" conflicts with previous declaration at 0(449) 0(452) : error C1038: declaration of "diffuse" conflicts with previous declaration at 0(413) 0(453) : error C0000: syntax error, unexpected '=' at token "=" 0(453) : error C0501: type name expected at token "=" 0(453) : warning C7022: unrecognized profile specifier "color" 0(453) : error C1038: declaration of "lightProd" conflicts with previous declaration at 0(449) 0(453) : error C1038: declaration of "specular" conflicts with previous declaration at 0(414) 0(456) : error C0000: syntax error, unexpected '=' at token "=" 0(456) : error C0501: type name expected at token "=" 0(456) : warning C7022: unrecognized profile specifier "color" 0(458) : error C0000: syntax error, unexpected '=' at token "=" 0(458) : error C0501: type name expected at token "=" 0(458) : warning C7022: unrecognized profile specifier "color" 0(458) : error C1307: non constant expression for array size 0(460) : error C0000: syntax error, unexpected '=' at token "=" 0(460) : error C0501: type name expected at token "=" 0(460) : warning C7022: unrecognized profile specifier "color" 0(460) : error C1307: non constant expression for array size 0(462) : error C0000: syntax error, unexpected '=' at token "=" 0(462) : error C0501: type name expected at token "=" 0(462) : warning C7022: unrecognized profile specifier "color" 0(462) : error C1307: non constant expression for array size 0(464) : error C0000: syntax error, unexpected '=' at token "=" 0(464) : error C0501: type name expected at token "=" 0(464) : warning C7022: unrecognized profile specifier "color" 0(464) : error C1307: non constant expression for array size 0(466) : error C0000: syntax error, unexpected '=' at token "=" 0(466) : error C0501: type name expected at token "=" 0(466) : warning C7022: unrecognized profile specifier "color" 0(466) : error C1307: non constant expression for array size 0(468) : error C0000: syntax error, unexpected '=' at token "=" 0(468) : error C0501: type name expected at token "=" 0(468) : warning C7022: unrecognized profile specifier "color" 0(468) : error C1307: non constant expression for array size 0(470) : error C0000: syntax error, unexpected '=' at token "=" 0(470) : error C0501: type name expected at token "=" 0(470) : warning C7022: unrecognized profile specifier "color" 0(470) : error C1307: non constant expression for array size 0(472) : error C0000: syntax error, unexpected '=' at token "=" 0(472) : error C0501: type name expected at token "=" 0(472) : warning C7022: unrecognized profile specifier "color" 0(472) : error C1307: non constant expression for array size 0(474) : error C0000: syntax error, unexpected '=' at token "=" 0(474) : error C0501: type name expected at token "=" 0(474) : warning C7022: unrecognized profile specifier "test_float1" 0(475) : error C0000: syntax error, unexpected '=' at token "=" 0(475) : error C0501: type name expected at token "=" 0(475) : warning C7022: unrecognized profile specifier "test_float1" 0(475) : error C1038: declaration of "gl_Fog" conflicts with previous declaration at 0(474) 0(476) : error C0000: syntax error, unexpected '=' at token "=" 0(476) : error C0501: type name expected at token "=" 0(476) : warning C7022: unrecognized profile specifier "test_float1" 0(476) : error C1038: declaration of "gl_Fog" conflicts with previous declaration at 0(474) 0(477) : error C0000: syntax error, unexpected '=' at token "=" 0(477) : error C0501: type name expected at token "=" 0(477) : warning C7022: unrecognized profile specifier "test_float1" 0(477) : error C1038: declaration of "gl_Fog" conflicts with previous declaration at 0(474) 0(478) : error C0000: syntax error, unexpected '=' at token "=" 0(478) : error C0501: type name expected at token "=" 0(478) : warning C7022: unrecognized profile specifier "color" 0(478) : error C1038: declaration of "gl_Fog" conflicts with previous declaration at 0(474) 0(480) : error C0000: syntax error, unexpected '=' at token "=" 0(480) : error C0501: type name expected at token "=" 0(480) : warning C7022: unrecognized profile specifier "gl_FrontColor" 0(481) : error C0000: syntax error, unexpected '=' at token "=" 0(481) : error C0501: type name expected at token "=" 0(481) : warning C7022: unrecognized profile specifier "gl_BackColor" 0(482) : error C0000: syntax error, unexpected '=' at token "=" 0(482) : error C0501: type name expected at token "=" 0(482) : warning C7022: unrecognized profile specifier "gl_FrontSecondaryColor" 0(483) : error C0000: syntax error, unexpected '=' at token "=" 0(483) : error C0501: type name expected at token "=" 0(483) : warning C7022: unrecognized profile specifier "gl_BackSecondaryColor" 0(487) : error C0000: syntax error, unexpected '[' at token "[" 0(487) : error C0501: type name expected at token "[" 0(487) : warning C7022: unrecognized profile specifier "gl_TexCoord" 0(488) : error C0000: syntax error, unexpected '=' at token "=" 0(488) : error C0501: type name expected at token "=" 0(488) : warning C7022: unrecognized profile specifier "gl_FogFragCoord" 0(493) : error C0000: syntax error, unexpected '{', expecting ',' or ';' at token "{" 0(493) : error C0501: type name expected at token "{" 0(494) : error C1038: declaration of "out_int" conflicts with previous declaration at 0(230) 0(496) : error C0000: syntax error, unexpected reserved word "return" at token "return" 0(496) : error C0501: type name expected at token "return" 0(500) : error C0000: syntax error, unexpected '{', expecting ',' or ';' at token "{" 0(500) : error C0501: type name expected at token "{" 0(502) : error C0000: syntax error, unexpected '=' at token "=" 0(502) : error C0501: type name expected at token "=" 0(502) : warning C7022: unrecognized profile specifier "in_int1" 0(506) : error C0000: syntax error, unexpected ')' at token ")" 0(506) : error C0501: type name expected at token ")" 0(506) : warning C7022: unrecognized profile specifier "ll" 0(506) : warning C7022: unrecognized profile specifier "light3" 0(508) : error C1038: declaration of "i" conflicts with previous declaration at 0(495) 0(508) : warning C7011: implicit cast from "float" to "int" 0(509) : error C0000: syntax error, unexpected '=' at token "=" 0(509) : error C0501: type name expected at token "=" 0(509) : warning C7022: unrecognized profile specifier "varying_flt" 0(512) : error C0000: syntax error, unexpected ')' at token ")" 0(512) : error C0501: type name expected at token ")" 0(512) : warning C7022: unrecognized profile specifier "ll20" 0(512) : warning C7022: unrecognized profile specifier "light5" 0(514) : error C1038: declaration of "i" conflicts with previous declaration at 0(495) 0(514) : warning C7011: implicit cast from "float" to "int" 0(515) : error C0000: syntax error, unexpected '}' at token "}" 0(515) : error C0501: type name expected at token "}" 0(517) : error C0000: syntax error, unexpected ')' at token ")" 0(517) : error C0501: type name expected at token ")" 0(517) : warning C7022: unrecognized profile specifier "struct_light1" 0(517) : warning C7022: unrecognized profile specifier "light1" 0(520) : error C0000: syntax error, unexpected ';' at token ";" 0(520) : error C0501: type name expected at token ";" 0(520) : warning C7022: unrecognized profile specifier "ll5" 0(520) : warning C7022: unrecognized profile specifier "light5" 0(521) : warning C7022: unrecognized profile specifier "struct_light1" 0(521) : error C1038: declaration of "light2" conflicts with previous declaration at 0(519) 0(522) : error C0000: syntax error, unexpected '.' at token "." 0(522) : error C0501: type name expected at token "." 0(522) : warning C7022: unrecognized profile specifier "struct_light1" 0(522) : error C1038: declaration of "light2" conflicts with previous declaration at 0(519) 0(522) : error C1038: declaration of "f" conflicts with previous declaration at 0(521) 0(523) : warning C7022: unrecognized profile specifier "struct_light1" 0(523) : error C1038: declaration of "light2" conflicts with previous declaration at 0(519) 0(523) : error C1038: declaration of "a" conflicts with previous declaration at 0(519) 0(527) : error C0000: syntax error, unexpected '{', expecting ',' or ';' at token "{" 0(527) : error C0501: type name expected at token "{" 0(528) : error C1038: declaration of "x" conflicts with previous declaration at 0(245) 0(529) : error C0000: syntax error, unexpected ';' at token ";" 0(529) : error C0501: type name expected at token ";" 0(529) : warning C7022: unrecognized profile specifier "funcStruct" 0(529) : warning C7022: unrecognized profile specifier "light6" 0(530) : error C0000: syntax error, unexpected ';' at token ";" 0(530) : error C0501: type name expected at token ";" 0(530) : warning C7022: unrecognized profile specifier "funcStruct1" 0(530) : warning C7022: unrecognized profile specifier "light7" 0(531) : error C1038: declaration of "x" conflicts with previous declaration at 0(245) 0(532) : error C0000: syntax error, unexpected '=' at token "=" 0(532) : error C0501: type name expected at token "=" 0(532) : warning C7022: unrecognized profile specifier "x" 0(532) : error C1038: declaration of "x" conflicts with previous declaration at 0(245) 0(532) : error C1038: declaration of "x" conflicts with previous declaration at 0(245) 0(534) : error C0000: syntax error, unexpected "++" at token "++" 0(534) : error C0501: type name expected at token "++" 0(534) : warning C7022: unrecognized profile specifier "m" 0(535) : error C1038: declaration of "m" conflicts with previous declaration at 0(533) 0(536) : error C1038: declaration of "m" conflicts with previous declaration at 0(533) 0(540) : error C0000: syntax error, unexpected ',' at token "," 0(540) : error C0501: type name expected at token "," 0(540) : warning C7022: unrecognized profile specifier "ll1" 0(540) : warning C7022: unrecognized profile specifier "light1" 0(542) : error C1038: declaration of "f" conflicts with previous declaration at 0(521) 0(548) : error C0000: syntax error, unexpected reserved word "for" at token "for" 0(548) : error C0501: type name expected at token "for" 0(552) : error C1038: declaration of "true" conflicts with previous declaration at 0(550) 0(554) : error C1038: declaration of "true" conflicts with previous declaration at 0(550) Output: Shader source: // [config] // expect_result: pass // glsl_version: 1.10 // // # NOTE: Config section was auto-generated from file // # NOTE: 'glslparser.tests' at git revision // # NOTE: 6cc17ae70b70d150aa1751f8e28db7b2a9bd50f0 // [end config] void test_function(const in int in_int, inout int out_int); int test_function1(in int in_int, inout int out_int); int test_function1(in int in_int1, inout int , out int); int test_function1(in int in_int1, inout int , out int); uniform float array_float[2]; struct light1 { float intensity; vec3 position; int test_int[2]; struct nested { int a; float f; } light2; } lightVar; light1 ll2; varying struct light3 { float i; } ; attribute struct light4 { float i; }; struct light5 { float i ; float a[2]; } light5_inst; uniform light3 uniformLight3; uniform struct light6 { float i; }; uniform light6 uniformLight6; struct light7 { struct { struct { struct { float f; } light10; } light9; } light8; } ; light3 struct_var = light3(5.0); // Attribtue variables can only be Global attribute float flt_attrib; attribute vec2 vec2_attrib; attribute vec3 vec3_attrib; attribute vec4 vec4_attrib; attribute mat2 mat2_attrib; attribute mat3 mat3_attrib; attribute mat4 mat4_attrib; uniform float flt_uniform; uniform vec3 uniform_vec3; uniform mat3 uniform_mat3; uniform sampler1D samp[]; uniform sampler1D samp1; const struct light12 { int a; } uniform_struct = light12(2); varying vec3 varying_vec3; varying vec2 varying_vec2; varying vec4 varying_vec4; varying mat4 varying_mat4; varying mat2 varying_mat2; varying mat3 varying_mat3; varying float varying_flt; float frequencies[2]; void test_function2(int func_int) { } void test_function3(light3); void test_function4(light5 ll20); void test_function5(light1); light6 test_function6(int a); const float FloatConst1 = 3.0 * 8.0, floatConst2 = 4.0; const bool BoolConst1 = true && true || false; const bool BoolConst2 = false || !false && false; void main(void) { int test_int1 = 42; struct structMain { float i; } testStruct; struct { structMain a; } aStruct; testStruct.i = 5.0 ; struct_var.i = 5.0; structMain newStruct, newStruct1; testStruct = newStruct; newStruct = newStruct1; lightVar.light2.f = 1.1; light1 ll1; ll1.light2.a = 1; const struct const_struct { float i; } const_struct_inst = const_struct(1.0); ll1 = ll2; ll1.light2 = ll2.light2; ll1.light2 = ll1.light2; ll1.light2.f = ll2.light2.f; ll1.light2.f = ll1.light2.f; lightVar = ll2; ll2 = lightVar; light5 ll10; light7 ll7[]; structMain newStruct2[2]; newStruct2[0].i = 1.1; ll7[0].light8.light9.light10.f = 1.1; bool test_bool4 = false ; bool test_bool5 = 1.2 > 3.0 ; int test_int2 = 047; int test_int4 = 0xa8; // testing for hexadecimal numbers float test_float1 = 1.5; float test_float2 = .01; float test_float3 = 10.; float test_float4 = 10.01; float test_float5 = 23e+2; float test_float6 = 23E-3; float test_float8 = 23E2; bool test_bool6 = BoolConst1 && ! (test_int1 != 0) && ! BoolConst1 && ! (FloatConst1 != 0.0) && (FloatConst1 != 0.0) && (test_float1 != 0.0); vec4 color = vec4(0.0, 1.0, 0.0, 1.0); vec4 color2 = vec4(0.0); vec3 color4 = vec3(test_float8); ivec4 test_int_vect1 = ivec4(1.0,1.0,1.0,1.0); ivec3 test_int_vec3 = ivec3(1, 1, 1) ; bvec4 test_bool_vect1 = bvec4(1., 1., 1. , 1. ); vec2 test_vec2 = vec2(1., 1.); vec2 test_vec3 = vec2(1., 1); vec4 test_vec4 = vec4(test_int_vect1); vec2 test_vec5 = vec2(color4); vec3 test_vec7 = vec3(color); vec3 test_vec8 = vec3(test_vec2, test_float4); vec3 test_vec9 = vec3(test_float4, test_vec2); vec4 test_vec10 = vec4(test_vec9, 0.01); vec4 test_vec11 = vec4(0.01, test_vec9); vec4 test_vec12 = vec4(test_vec2, test_vec2); mat2 test_mat2 = mat2(test_float3); mat3 test_mat3 = mat3(test_float3); mat4 test_mat4 = mat4(test_float3); mat2 test_mat7 = mat2(test_vec2, test_vec2); mat2 test_mat8 = mat2(01.01, 2.01, 3.01, 4.01); mat3 test_mat9 = mat3(test_vec7, test_vec7, test_vec7); mat4 test_mat10 = mat4(test_vec10, test_vec10, test_vec10, test_vec10); test_mat10[1] = test_vec10; mat2 test_mat12 = mat2(test_vec2, 0.01, 0.01); mat2 test_mat13 = mat2(0.01, 5., test_vec2); mat2 test_mat15 = mat2(0.1, 5., test_vec2 ); //mat2 test_mat16 = mat2(test_mat9); //mat2 test_mat17 = mat2(test_mat10); float freq1[2]; float freq2[]; while(test_float1 < 1.0); float freq2[]; float freq2[25]; freq2[1] = 1.9 ; const int array_index = 2; freq2[test_int1] = 1.9 ; freq2[array_index] = 1.8; const int const_int = 5; test_float1 = varying_flt; int out_int; int intArray[]; test_function(test_int1, test_int1); test_function(test_int1, intArray[2]); vec3 vv = vec3(test_function1(test_int1, out_int)); bool bool_var = true; int test_int6 = int(bool_var); test_float1 = float(bool_var); test_float1 = float(test_int6); test_int6 = int(test_float1); bool_var = bool(test_int6); bool_var = bool(test_float1); test_float1 = float(test_vec9); test_vec2.x = 1.2; test_vec2.y = 1.4; test_vec2.xy; color.zy = test_vec2; test_vec2[1] = 1.1; test_mat2[0][0] = 1.1; test_float1 += 1.0; test_float1 -= 1.0; test_float1 *= 1.0; test_float1 /= 1.0; test_mat12 *= test_mat13 ; test_mat12 *= test_float1; test_vec2 *= test_float1; test_vec2 *= test_mat12; test_float1++; test_float1--; --test_float1; ++test_float1; test_float1; test_int1++; test_int1--; test_vec2 = test_vec2 + test_float1; test_vec2 = test_float1 + test_vec2; test_mat12 = test_mat12 * test_mat13; test_vec2 = test_vec2 * test_vec5; test_vec2++; test_mat2++; bool test_bool2 = test_float2 > test_float3; bool test_bool3 = test_int1 > test_int6 ; test_bool3 = test_vec2 == test_vec5; test_bool2 = test_bool3 && test_bool4; test_bool2 = test_bool3 || test_bool4; test_bool2 = test_bool3 ^^ test_bool4; test_bool2 = !test_bool3; test_bool3 = !(test_int1 > test_int6) ; test_float1 = test_int1 > test_int6 ? test_float2 : test_float3; test_vec2 = test_int1 > test_int6 ? test_vec2 : test_vec5; if(test_bool2) test_float1++; else test_float1--; if(test_float1 > test_float2) test_float1++; if( test_bool2 ) { int if_int; test_float1++; } if(test_bool2) if(test_bool3) if(test_bool3) test_float1++; for(int for_int=0; for_int < 5; for_int++) { // do nothing as such } for(; test_bool2; ) { int for_int; } for(; test_bool2 = (test_float1 > test_float2); ) { } for(int for_int1; test_bool2; ) { int for_int; } for(; test_bool2; test_float1++) { int test_float; } while(bool b = (test_float1 > test_float2)) { break; continue; } for(;;) { for(;;) { break; } } while( test_bool2 ) { break; } do { int dowhile_int; dowhile_int = 3; } while(test_bool2); // VERTEX SHADER ONLY VARIABLES gl_PointSize = 4.0; gl_ClipVertex = vec4(2.0, 3.0, 1.0, 1.1); gl_Position = vec4(2.0, 3.0, 1.0, 1.1); gl_Position = gl_Vertex; // VERTEX SHADER BUILT-IN ATTRIBUTES vec4 builtInV4 = gl_Color + gl_SecondaryColor + gl_Vertex + gl_MultiTexCoord0 + gl_MultiTexCoord1 + gl_MultiTexCoord2 + gl_MultiTexCoord3 + gl_MultiTexCoord4 + gl_MultiTexCoord5 + gl_MultiTexCoord6 + gl_MultiTexCoord7; int builtInI = gl_MaxLights + gl_MaxClipPlanes + gl_MaxTextureUnits + gl_MaxTextureCoords + gl_MaxVertexAttribs + gl_MaxVertexUniformComponents + gl_MaxVaryingFloats + gl_MaxVertexTextureImageUnits + gl_MaxCombinedTextureImageUnits + gl_MaxTextureImageUnits + gl_MaxFragmentUniformComponents + gl_MaxDrawBuffers ; mat4 builtInM4 = gl_ModelViewMatrix + gl_ModelViewProjectionMatrix + gl_ProjectionMatrix; gl_NormalMatrix; gl_TextureMatrix[gl_MaxTextureCoords-1]; gl_TextureMatrix; gl_NormalScale ; gl_DepthRange.near ; test_float1 = gl_DepthRange.near; test_float1 = gl_DepthRange.far; test_float1 = gl_DepthRange.diff; gl_ClipPlane[gl_MaxClipPlanes-1] ; gl_Point.size; gl_Point.sizeMin; gl_Point.sizeMax; gl_Point.fadeThresholdSize ; gl_Point.distanceConstantAttenuation; gl_Point.distanceLinearAttenuation ; gl_Point.distanceQuadraticAttenuation; gl_MaterialParameters test; gl_FrontMaterial.emission; color = gl_FrontMaterial.emission; color = gl_FrontMaterial.ambient; color = gl_FrontMaterial.diffuse; color = gl_FrontMaterial.specular; test_float1 = gl_FrontMaterial.shininess; gl_LightSourceParameters lightSource; float builtInFloat1 = gl_LightSource[0].spotExponent; color = gl_LightSource[0].ambient; color = lightSource.ambient; color = lightSource.diffuse; color = lightSource.specular; color = lightSource.position; color = lightSource.halfVector; color4 = lightSource.spotDirection; test_float1 = lightSource.spotExponent; test_float1 = lightSource.spotCutoff; test_float1 = lightSource.spotCosCutoff; test_float1 = lightSource.constantAttenuation; test_float1 = lightSource.linearAttenuation; test_float1 = lightSource.quadraticAttenuation; color = gl_LightModel.ambient; gl_LightModelParameters lightModel; color = gl_LightModel.ambient; color = lightModel.ambient; color = gl_FrontLightModelProduct.sceneColor ; gl_LightModelProducts lightModelProd; color = lightModelProd.sceneColor; color = gl_FrontLightModelProduct.sceneColor; color = gl_FrontLightProduct[0].ambient; color = gl_FrontLightProduct[0].ambient; gl_LightProducts lightProd; color = lightProd.ambient; color = lightProd.diffuse; color = lightProd.specular; color = gl_TextureEnvColor[gl_MaxTextureUnits-1]; color = gl_EyePlaneS[gl_MaxTextureCoords-1] ; color = gl_EyePlaneT[gl_MaxTextureCoords-1]; color = gl_EyePlaneR[gl_MaxTextureCoords-1]; color = gl_EyePlaneQ[gl_MaxTextureCoords-1]; color = gl_ObjectPlaneS[gl_MaxTextureCoords-1]; color = gl_ObjectPlaneT[gl_MaxTextureCoords-1] ; color = gl_ObjectPlaneR[gl_MaxTextureCoords-1]; color = gl_ObjectPlaneQ[gl_MaxTextureCoords-1]; test_float1 = gl_Fog.density ; test_float1 = gl_Fog.start ; test_float1 = gl_Fog.end ; test_float1 = gl_Fog.scale ; color = gl_Fog.color ; gl_FrontColor = vec4(1.0, 1.0, 1.0, 1.0); gl_BackColor = vec4(1.0, 1.0, 1.0, 1.0); gl_FrontSecondaryColor = vec4(1.0, 1.0, 1.0, 1.0); gl_BackSecondaryColor = vec4(1.0, 1.0, 1.0, 1.0); // VARYING VARIABLES AVAILABLE IN FRAGMENT AND VERTEX SHADERS BOTH gl_TexCoord[0] = vec4(1.0, 1.0, 1.0, 1.0); gl_FogFragCoord = 1.0; } void test_function(const in int in_int, inout int out_int) { out_int = 5; int i = 5; return ; } int test_function1(in int in_int1, inout int unused1, out int unused2) { float ff; in_int1 = 5; return in_int1; } void test_function3(light3 ll) { ll.i = 5.0; varying_flt = 1.2; } void test_function4(light5 ll20) { ll20.i = 10.0; } void test_function5(light1 struct_light1) { struct_light1.light2.a = 1; light5 ll5; struct_light1.light2.f = ll5.i; struct_light1.light2.f++; struct_light1.light2.a++; } light6 test_function6(int a) { int x; light6 funcStruct; light7 funcStruct1; -x; x = x - x ; mat2 m; m++; -m; (m)++; return funcStruct; } float test_function7(light1 ll1, int light1 ) { float f; struct ss1 { int a; }; for(;;) { for(;;) { if(true) break; if(true) break; if(true) break; } break; } for(;;); return float(1); } |