Re: [Mesa-dev] [PATCH 1/2] i965/vec4: Reswizzle sources when necessary.

2014-09-05 Thread Kenneth Graunke
On Sunday, August 31, 2014 11:33:58 AM Matt Turner wrote: > Despite the comment above the function claiming otherwise, the function > did not reswizzle sources, which would lead to bad code generation. Perhaps expand this to something like: which lead to incorrect code generation since commit 04

[Mesa-dev] [PATCH 1/2] i965/vec4: Reswizzle sources when necessary.

2014-08-31 Thread Matt Turner
Despite the comment above the function claiming otherwise, the function did not reswizzle sources, which would lead to bad code generation. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82932 --- src/mesa/drivers/dri/i965/brw_vec4.cpp | 32 +++- src/mesa/drive