Skip to content

Commit

Permalink
Fixed writemask bits in assembled bytecode.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Dec 11, 2008
1 parent 9f34f86 commit cddc9a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mojoshader_assembler.c
Expand Up @@ -712,6 +712,7 @@ static int parse_destination_token(Context *ctx, DestArgInfo *info)
((((uint32) info->relative) & 0x1) << 13) |
((((uint32) info->result_mod) & 0xF) << 20) |
((((uint32) info->result_shift) & 0xF) << 24) |
((((uint32) info->writemask) & 0xF) << 16) |
((((uint32) info->regtype) & 0x7) << 28) |
((((uint32) info->regtype) & 0x18) << 8) );

Expand Down

0 comments on commit cddc9a2

Please sign in to comment.