From 4c08fdaa84abd5831c1a7aa8d865e646d08e3266 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sat, 6 Sep 2008 15:15:10 -0400 Subject: [PATCH] Removed FIXME. TEXKILL can't swizzle, it's not a source register...and it's writemask is required to be .xyzw anyhow. --- mojoshader.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mojoshader.c b/mojoshader.c index 90ca3f6d..d374c229 100644 --- a/mojoshader.c +++ b/mojoshader.c @@ -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