mojoshader_assembler.c
changeset 1096 b04fca1befb8
parent 1057 4c5cb78c6cdd
child 1104 9147482e1ec7
equal deleted inserted replaced
1095:bc3d2c6e06cf 1096:b04fca1befb8
   676             set_source_mod(ctx, negate, SRCMOD_SIGN, SRCMOD_SIGNNEGATE, &srcmod);
   676             set_source_mod(ctx, negate, SRCMOD_SIGN, SRCMOD_SIGNNEGATE, &srcmod);
   677         else if (check_token_segment(ctx, "_x2"))
   677         else if (check_token_segment(ctx, "_x2"))
   678             set_source_mod(ctx, negate, SRCMOD_X2, SRCMOD_X2NEGATE, &srcmod);
   678             set_source_mod(ctx, negate, SRCMOD_X2, SRCMOD_X2NEGATE, &srcmod);
   679         else if (check_token_segment(ctx, "_dz"))
   679         else if (check_token_segment(ctx, "_dz"))
   680             set_source_mod(ctx, negate, SRCMOD_DZ, SRCMOD_NONE, &srcmod);
   680             set_source_mod(ctx, negate, SRCMOD_DZ, SRCMOD_NONE, &srcmod);
       
   681         else if (check_token_segment(ctx, "_db"))
       
   682             set_source_mod(ctx, negate, SRCMOD_DZ, SRCMOD_NONE, &srcmod);
   681         else if (check_token_segment(ctx, "_dw"))
   683         else if (check_token_segment(ctx, "_dw"))
       
   684             set_source_mod(ctx, negate, SRCMOD_DW, SRCMOD_NONE, &srcmod);
       
   685         else if (check_token_segment(ctx, "_da"))
   682             set_source_mod(ctx, negate, SRCMOD_DW, SRCMOD_NONE, &srcmod);
   686             set_source_mod(ctx, negate, SRCMOD_DW, SRCMOD_NONE, &srcmod);
   683         else if (check_token_segment(ctx, "_abs"))
   687         else if (check_token_segment(ctx, "_abs"))
   684             set_source_mod(ctx, negate, SRCMOD_ABS, SRCMOD_ABSNEGATE, &srcmod);
   688             set_source_mod(ctx, negate, SRCMOD_ABS, SRCMOD_ABSNEGATE, &srcmod);
   685         else
   689         else
   686             fail(ctx, "Invalid source modifier");
   690             fail(ctx, "Invalid source modifier");