Re: [Mesa-dev] [PATCH 2/5] i965: Add support for swizzling arbitrary immediates to (brw_)swizzle().

2016-02-29 Thread Francisco Jerez
Iago Toral writes: > On Fri, 2016-02-26 at 22:02 -0800, Francisco Jerez wrote: >> Scalar immediates used to be handled correctly by swizzle() (as the >> identity) but since commit 58fa9d47b536403c4e3ca5d6a2495691338388fd it >> will corrupt the contents of the immediate.

Re: [Mesa-dev] [PATCH 2/5] i965: Add support for swizzling arbitrary immediates to (brw_)swizzle().

2016-02-29 Thread Iago Toral
On Fri, 2016-02-26 at 22:02 -0800, Francisco Jerez wrote: > Scalar immediates used to be handled correctly by swizzle() (as the > identity) but since commit 58fa9d47b536403c4e3ca5d6a2495691338388fd it > will corrupt the contents of the immediate. Vector immediates were > never handled correctly,

[Mesa-dev] [PATCH 2/5] i965: Add support for swizzling arbitrary immediates to (brw_)swizzle().

2016-02-26 Thread Francisco Jerez
Scalar immediates used to be handled correctly by swizzle() (as the identity) but since commit 58fa9d47b536403c4e3ca5d6a2495691338388fd it will corrupt the contents of the immediate. Vector immediates were never handled correctly, but we had ad-hoc code to swizzle VF immediates in the vec4 copy