On 20 February 2017 at 13:12, Józef Kucia jkucia@codeweavers.com wrote:
@@ -5063,9 +5071,9 @@ static void shader_glsl_ld_raw(const struct wined3d_shader_instruction *ins) &dst, dst.reg.data_type))) continue;
shader_glsl_swizzle_to_str(src->swizzle, FALSE, write_mask, dst_swizzle);
shader_addline(buffer, "%s(%s_%s%u, %s / 4)%s);\n",
function, prefix, resource, src->reg.idx[0].offset, offset.param_str, dst_swizzle);
swizzle = shader_glsl_swizzle_get_component(src->swizzle, write_mask);
That doesn't look right, should that use "i" instead of "write_mask"?