Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Let's try making an assign with no writemask into a no-op in the GLSL…
… profile.

This may or may not work.

--HG--
branch : trunk
  • Loading branch information
icculus committed May 9, 2008
1 parent a6782d4 commit 184f420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader.c
Expand Up @@ -1724,7 +1724,7 @@ static const char *make_GLSL_destarg_assign(Context *ctx, const char *fmt, ...)
const DestArgInfo *arg = &ctx->dest_arg;

if (arg->writemask == 0)
fail(ctx, "BUG: empty writemask"); // !!! FIXME: make this a no-op?
return ""; // no writemask? It's a no-op.

char clampbuf[32] = { '\0' };
const char *clampleft = "";
Expand Down

0 comments on commit 184f420

Please sign in to comment.