Skip to content

Commit

Permalink
Removed bogus validity check.
Browse files Browse the repository at this point in the history
msdn docs never say TEXLDL src0 must be texture register.

--HG--
branch : trunk
  • Loading branch information
icculus committed May 12, 2008
1 parent ede99ef commit 40ef0a1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mojoshader.c
Expand Up @@ -4339,8 +4339,6 @@ static void state_TEXLDL(Context *ctx)
{
if (!shader_version_atleast(ctx, 3, 0))
fail(ctx, "TEXLDL in version < Shader Model 3.0");
else if (ctx->source_args[0].regtype != REG_TYPE_TEXTURE)
fail(ctx, "TEXLDL src0 must be texture register");
else if (ctx->source_args[1].regtype != REG_TYPE_SAMPLER)
fail(ctx, "TEXLDL src1 must be sampler register");
} // state_TEXLDL
Expand Down

0 comments on commit 40ef0a1

Please sign in to comment.