Skip to content

Commit

Permalink
Removed FIXME.
Browse files Browse the repository at this point in the history
TEXKILL can't swizzle, it's not a source register...and it's writemask is
 required to be .xyzw anyhow.
  • Loading branch information
icculus committed Sep 6, 2008
1 parent 1032f2f commit 4c08fda
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mojoshader.c
Expand Up @@ -3134,7 +3134,6 @@ EMIT_GLSL_OPCODE_UNIMPLEMENTED_FUNC(TEXCRD)

static void emit_GLSL_TEXKILL(Context *ctx)
{
// !!! FIXME: can texkill swizzle?
const char *dst = get_GLSL_destarg_varname(ctx);
output_line(ctx, "if (any(lessThan(%s.xyz, vec3(0.0)))) discard;", dst);
} // emit_GLSL_TEXKILL
Expand Down

0 comments on commit 4c08fda

Please sign in to comment.