utils/testoutput.c
changeset 1104 9147482e1ec7
parent 588 ef3d2efa822d
child 1156 6e760a19f456
equal deleted inserted replaced
1103:8b7c29c019d5 1104:9147482e1ec7
    14 static int do_parse(const unsigned char *buf, const int len, const char *prof)
    14 static int do_parse(const unsigned char *buf, const int len, const char *prof)
    15 {
    15 {
    16     const MOJOSHADER_parseData *pd;
    16     const MOJOSHADER_parseData *pd;
    17     int retval = 0;
    17     int retval = 0;
    18 
    18 
    19     pd = MOJOSHADER_parse(prof, buf, len, NULL, 0, NULL, NULL, NULL);
    19     pd = MOJOSHADER_parse(prof, buf, len, NULL, 0, NULL, 0, NULL, NULL, NULL);
    20     if (pd->error_count > 0)
    20     if (pd->error_count > 0)
    21     {
    21     {
    22         int i;
    22         int i;
    23         for (i = 0; i < pd->error_count; i++)
    23         for (i = 0; i < pd->error_count; i++)
    24         {
    24         {