mojoshader_effects.c
changeset 1204 21422b28cfd4
parent 1186 b5c8483ff647
child 1205 59d969911962
equal deleted inserted replaced
1203:825944b0dbfc 1204:21422b28cfd4
   371             mem->info.columns = readui32(&typeptr, &typelen);
   371             mem->info.columns = readui32(&typeptr, &typelen);
   372             mem->info.rows = readui32(&typeptr, &typelen);
   372             mem->info.rows = readui32(&typeptr, &typelen);
   373 
   373 
   374             // !!! FIXME: Nested structs! -flibit
   374             // !!! FIXME: Nested structs! -flibit
   375             assert(mem->info.parameter_class >= MOJOSHADER_SYMCLASS_SCALAR
   375             assert(mem->info.parameter_class >= MOJOSHADER_SYMCLASS_SCALAR
   376                 && mem->info.parameter_class <= MOJOSHADER_SYMCLASS_VECTOR);
   376                 && mem->info.parameter_class <= MOJOSHADER_SYMCLASS_MATRIX_COLUMNS);
   377             assert(mem->info.parameter_type >= MOJOSHADER_SYMTYPE_BOOL
   377             assert(mem->info.parameter_type >= MOJOSHADER_SYMTYPE_BOOL
   378                 && mem->info.parameter_type <= MOJOSHADER_SYMTYPE_FLOAT);
   378                 && mem->info.parameter_type <= MOJOSHADER_SYMTYPE_FLOAT);
   379             mem->info.member_count = 0;
   379             mem->info.member_count = 0;
   380             mem->info.members = NULL;
   380             mem->info.members = NULL;
   381 
   381