mojoshader_effects.c
changeset 1186 b5c8483ff647
parent 1185 7ff14b0252a0
child 1204 21422b28cfd4
equal deleted inserted replaced
1185:7ff14b0252a0 1186:b5c8483ff647
   620         } // if
   620         } // if
   621         else if (object->type == MOJOSHADER_SYMTYPE_TEXTURE
   621         else if (object->type == MOJOSHADER_SYMTYPE_TEXTURE
   622               || object->type == MOJOSHADER_SYMTYPE_TEXTURE1D
   622               || object->type == MOJOSHADER_SYMTYPE_TEXTURE1D
   623               || object->type == MOJOSHADER_SYMTYPE_TEXTURE2D
   623               || object->type == MOJOSHADER_SYMTYPE_TEXTURE2D
   624               || object->type == MOJOSHADER_SYMTYPE_TEXTURE3D
   624               || object->type == MOJOSHADER_SYMTYPE_TEXTURE3D
   625               || object->type == MOJOSHADER_SYMTYPE_TEXTURECUBE)
   625               || object->type == MOJOSHADER_SYMTYPE_TEXTURECUBE
   626         {
   626               || object->type == MOJOSHADER_SYMTYPE_SAMPLER
   627             // No-op. Why is this even here?
       
   628         } // else if
       
   629         else if (object->type == MOJOSHADER_SYMTYPE_SAMPLER
       
   630               || object->type == MOJOSHADER_SYMTYPE_SAMPLER1D
   627               || object->type == MOJOSHADER_SYMTYPE_SAMPLER1D
   631               || object->type == MOJOSHADER_SYMTYPE_SAMPLER2D
   628               || object->type == MOJOSHADER_SYMTYPE_SAMPLER2D
   632               || object->type == MOJOSHADER_SYMTYPE_SAMPLER3D
   629               || object->type == MOJOSHADER_SYMTYPE_SAMPLER3D
   633               || object->type == MOJOSHADER_SYMTYPE_SAMPLERCUBE)
   630               || object->type == MOJOSHADER_SYMTYPE_SAMPLERCUBE)
   634         {
   631         {
   805                                                                            object->shader.shader->preshader->symbols[j].name);
   802                                                                            object->shader.shader->preshader->symbols[j].name);
   806                     } // for
   803                     } // for
   807                 } // if
   804                 } // if
   808             }
   805             }
   809         } // if
   806         } // if
   810         else if (object->type == MOJOSHADER_SYMTYPE_SAMPLER
   807         else if (object->type == MOJOSHADER_SYMTYPE_TEXTURE
       
   808               || object->type == MOJOSHADER_SYMTYPE_TEXTURE1D
       
   809               || object->type == MOJOSHADER_SYMTYPE_TEXTURE2D
       
   810               || object->type == MOJOSHADER_SYMTYPE_TEXTURE3D
       
   811               || object->type == MOJOSHADER_SYMTYPE_TEXTURECUBE
       
   812               || object->type == MOJOSHADER_SYMTYPE_SAMPLER
   811               || object->type == MOJOSHADER_SYMTYPE_SAMPLER1D
   813               || object->type == MOJOSHADER_SYMTYPE_SAMPLER1D
   812               || object->type == MOJOSHADER_SYMTYPE_SAMPLER2D
   814               || object->type == MOJOSHADER_SYMTYPE_SAMPLER2D
   813               || object->type == MOJOSHADER_SYMTYPE_SAMPLER3D
   815               || object->type == MOJOSHADER_SYMTYPE_SAMPLER3D
   814               || object->type == MOJOSHADER_SYMTYPE_SAMPLERCUBE)
   816               || object->type == MOJOSHADER_SYMTYPE_SAMPLERCUBE)
   815         {
   817         {