mojoshader.h
changeset 1171 9f27482a2f58
parent 1164 006194daea99
child 1180 8abc040525ed
equal deleted inserted replaced
1170:6e9659bf396f 1171:9f27482a2f58
   536      *  Two notes: for "vs_2_x", this is 1, and for "vs_3_sw", this is 255.
   536      *  Two notes: for "vs_2_x", this is 1, and for "vs_3_sw", this is 255.
   537      */
   537      */
   538     int minor_ver;
   538     int minor_ver;
   539 
   539 
   540     /*
   540     /*
   541      * This is the main function name of the shader. On profiles that need
   541      * This is the main function name of the shader. This will be the
   542      *  the caller to supply this, this will be the caller-supplied string.
   542      *  caller-supplied string even if a given profile ignores it (GLSL,
   543      *  Otherwise, it'll be the name chosen by the profile ("main") or
   543      *  for example, always uses "main" in the shader output out of necessity,
       
   544      *  and Direct3D assembly has no concept of a "main function", etc).
       
   545      *  Otherwise, it'll be a default name chosen by the profile ("main") or
   544      *  whatnot.
   546      *  whatnot.
   545      */
   547      */
   546     const char *mainfn;
   548     const char *mainfn;
   547 
   549 
   548     /*
   550     /*