Commit 87c6ac42 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

shader_glsl_add_src_param() already adds floatBitsToUint(). Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent bdec0b20
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment