utils/testoutput.c
changeset 1156 6e760a19f456
parent 1104 9147482e1ec7
equal deleted inserted replaced
1155:006e06a6c326 1156:6e760a19f456
    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, 0, NULL, NULL, NULL);
    19     pd = MOJOSHADER_parse(prof, NULL, 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         {