mojoshader.c
branchtrunk
changeset 430 2756be459ea1
parent 429 ef7a8539fcb1
child 431 0d0cbe10db02
equal deleted inserted replaced
429:ef7a8539fcb1 430:2756be459ea1
  5039 // This is for profiles that extend other profiles...
  5039 // This is for profiles that extend other profiles...
  5040 static const struct { const char *from; const char *to; } profileMap[] =
  5040 static const struct { const char *from; const char *to; } profileMap[] =
  5041 {
  5041 {
  5042     { MOJOSHADER_PROFILE_GLSL120, MOJOSHADER_PROFILE_GLSL },
  5042     { MOJOSHADER_PROFILE_GLSL120, MOJOSHADER_PROFILE_GLSL },
  5043     { MOJOSHADER_PROFILE_NV2, MOJOSHADER_PROFILE_ARB1 },
  5043     { MOJOSHADER_PROFILE_NV2, MOJOSHADER_PROFILE_ARB1 },
       
  5044     { MOJOSHADER_PROFILE_NV3, MOJOSHADER_PROFILE_ARB1 },
  5044 };
  5045 };
  5045 
  5046 
  5046 
  5047 
  5047 // The PROFILE_EMITTER_* items MUST be in the same order as profiles[]!
  5048 // The PROFILE_EMITTER_* items MUST be in the same order as profiles[]!
  5048 #define PROFILE_EMITTERS(op) { \
  5049 #define PROFILE_EMITTERS(op) { \