Re: [PATCH 2/6] wined3d: Fix swizzle for ld_raw instruction.
20 Feb
2017
20 Feb
'17
3:59 p.m.
On 20 February 2017 at 13:12, Józef Kucia <jkucia(a)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"?
3220
Age (days ago)
3220
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet