Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix vertex sampler reserved mask for 3D/cube textures
  • Loading branch information
bartwe committed Jun 3, 2020
1 parent b6b8f2f commit 8d12660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader.c
Expand Up @@ -1050,7 +1050,7 @@ static int parse_args_DCL(Context *ctx)
const uint32 ttype = ((token >> 27) & 0xF);
if (!valid_texture_type(ttype))
fail(ctx, "Unknown sampler texture type");
reserved_mask = 0x6FFFFFFF;
reserved_mask = 0x0FFFFFFF;
ctx->dwords[0] = ttype;
} // else if
else
Expand Down

0 comments on commit 8d12660

Please sign in to comment.