wined3d: Get rid of a superfluous floatBitsToUint() in shader_glsl_texkill().

shader_glsl_add_src_param() already adds floatBitsToUint().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2017-01-24 22:15:24 +01:00 committed by Alexandre Julliard
parent bdec0b2031
commit 87c6ac4258
1 changed files with 1 additions and 1 deletions

View File

@ -5450,7 +5450,7 @@ static void shader_glsl_texkill(const struct wined3d_shader_instruction *ins)
struct glsl_src_param src_param;
shader_glsl_add_src_param(ins, &ins->src[0], WINED3DSP_WRITEMASK_0, &src_param);
shader_addline(ins->ctx->buffer, "if (bool(floatBitsToUint(%s))) discard;\n", src_param.param_str);
shader_addline(ins->ctx->buffer, "if (bool(%s)) discard;\n", src_param.param_str);
}
else
{