mojoshader.c
changeset 803 cfd14c5f187a
parent 802 6d1674f192d2
child 804 b5dca9b2a6e8
equal deleted inserted replaced
802:6d1674f192d2 803:cfd14c5f187a
  5801         {
  5801         {
  5802             unsupported = 1;
  5802             unsupported = 1;
  5803         } // else
  5803         } // else
  5804     } // else if
  5804     } // else if
  5805 
  5805 
  5806     else if ( (shader_is_vertex(ctx)) && (shader_version_atleast(ctx, 2, 0)) )
  5806     else if ( (shader_is_vertex(ctx)) && (shader_version_atleast(ctx, 1, 1)) )
  5807     {
  5807     {
  5808         if (regtype == REG_TYPE_INPUT)
  5808         if (regtype == REG_TYPE_INPUT)
  5809         {
  5809         {
  5810             const uint32 usage = (token & 0xF);
  5810             const uint32 usage = (token & 0xF);
  5811             const uint32 index = ((token >> 16) & 0xF);
  5811             const uint32 index = ((token >> 16) & 0xF);