12 Commits

Author SHA1 Message Date
Themaister
d54427983b Add automatic CGP -> GLSLP conversion. 2013-05-10 00:06:42 +02:00
Themaister
6193491e82 Fix wrong sampler translation in cg2glsl. 2013-04-16 15:44:41 +02:00
Themaister
48e7175e4b Improve compat in cg2glsl.
Allow vertex samplers, and fix "empty struct" bug.
2013-04-16 15:31:28 +02:00
Themaister
3ae5662dd2 Fixups in cg2glsl.
Don't allow struct names and varyings to collide.
Also add fixes for *.texture_size for PREV/PASS/ORIG, etc.
2013-04-13 16:34:04 +02:00
Themaister
6480f564c1 Treat _output_dummy_size as non-varying as well. 2013-04-13 13:47:13 +02:00
Themaister
ec9ffce56f Replace IN.* in a cleaner way. 2013-04-13 02:41:23 +02:00
Themaister
3779ddbace Use LUTTexCoord attrib correctly in cg2glsl. 2013-04-13 02:07:37 +02:00
Themaister
e8d89eb2b2 More compat fixes for cg2glsl.
Motion-blur shader works.
2013-04-13 01:58:44 +02:00
Themaister
49d713c2ee Fix some compat in cg2glsl. 2013-04-13 01:43:40 +02:00
Themaister
e4089af307 Allow multiple samplers in cg2glsl. 2013-04-12 00:30:03 +02:00
Themaister
88e2ac3c9c Fix issue with blinky.cg in cg2glsl. 2013-04-12 00:30:03 +02:00
Themaister
d7c1957586 Rename cg2xml to cg2glsl.
Outputs CGP/GLSL style shaders now.
2013-04-11 15:40:57 +02:00