mojoshader_assembler.c
changeset 1104 9147482e1ec7
parent 1096 b04fca1befb8
child 1130 80fc68215dec
equal deleted inserted replaced
1103:8b7c29c019d5 1104:9147482e1ec7
  1669     //  having to duplicate most of the validation here.
  1669     //  having to duplicate most of the validation here.
  1670     // It also saves us the trouble of duplicating all the other work,
  1670     // It also saves us the trouble of duplicating all the other work,
  1671     //  like setting up the uniforms list, etc.
  1671     //  like setting up the uniforms list, etc.
  1672     MOJOSHADER_parseData *retval = (MOJOSHADER_parseData *)
  1672     MOJOSHADER_parseData *retval = (MOJOSHADER_parseData *)
  1673                             MOJOSHADER_parse(MOJOSHADER_PROFILE_BYTECODE,
  1673                             MOJOSHADER_parse(MOJOSHADER_PROFILE_BYTECODE,
  1674                                     bytecode, output_len, NULL, 0,
  1674                                     bytecode, output_len, NULL, 0, NULL, 0,
  1675                                     ctx->malloc, ctx->free, ctx->malloc_data);
  1675                                     ctx->malloc, ctx->free, ctx->malloc_data);
  1676     Free(ctx, bytecode);
  1676     Free(ctx, bytecode);
  1677 
  1677 
  1678     SourcePos *token_to_src = NULL;
  1678     SourcePos *token_to_src = NULL;
  1679     if (retval->error_count > 0)
  1679     if (retval->error_count > 0)