Commit 1fa83c95 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Don't call shader_glsl_append_dst() from shader_glsl_texldl().

shader_glsl_gen_sample_code() already takes care of adding the destination.
parent e9ece6bd
......@@ -2410,8 +2410,6 @@ static void shader_glsl_texldl(const SHADER_OPCODE_ARG *arg)
DWORD sampler_idx;
DWORD swizzle = arg->src[1] & WINED3DSP_SWIZZLE_MASK;
shader_glsl_append_dst(arg->buffer, arg);
sampler_idx = arg->src[1] & WINED3DSP_REGNUM_MASK;
sampler_type = arg->reg_maps->samplers[sampler_idx] & WINED3DSP_TEXTURETYPE_MASK;
if(deviceImpl->stateBlock->textures[sampler_idx] &&
......
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