cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

eban
Journeyman III

OpenGL: Shader reserved function name

We recently started testing our application on ATI hardware and it seems that some shader function names are reserved:

Unable to create shader:Vertex shader failed to compile with the following errors:

ERROR: 0:31: error(#168) Reserved built-in name: originalMainFunction___

ERROR: error(#273) 1 compilation errors. No code generated

This happens using a AMD ATI FireGL V8800 on Windows 8.1

The exact same code works perfectly on other hardware and I did not find anything about this in the OpenGL specification

Is there anywhere a list of all reserved names for ATI cards ?

Thanks

0 Likes
1 Reply
eban
Journeyman III

Seems that the problem is the trailing "___".

Works if I don't put those, but I don't understand why this is prohibited.

0 Likes