Skip to content

Commit

Permalink
FIXME removal: out of order write masks are an error in Microsoft's t…
Browse files Browse the repository at this point in the history
…ools, too.
  • Loading branch information
icculus committed Feb 28, 2009
1 parent 8e7b1d2 commit 461f9fc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mojoshader_assembler.c
Expand Up @@ -609,7 +609,6 @@ static int parse_destination_token(Context *ctx)
invalid_writemask = 1;
else
{
// !!! FIXME: is out-of-order okay (yxzw instead of xyzw?)
char tokenbytes[5] = { '\0', '\0', '\0', '\0', '\0' };
const unsigned int tokenlen = ctx->tokenlen;
memcpy(tokenbytes, ctx->token, ((tokenlen < 4) ? tokenlen : 4));
Expand Down

0 comments on commit 461f9fc

Please sign in to comment.