Re: [Mesa-dev] [PATCH] st/glsl_to_tgsi: fix st_src_reg_for_double constant.

2016-07-04 Thread Ilia Mirkin
float gets .xyzw and seems to do just fine. How/why is float/int/etc different from double? On Mon, Jul 4, 2016 at 8:27 PM, Dave Airlie wrote: > From: Dave Airlie > > This needs to set the src swizzle so it doesn't access the .zw > members ever when we are

[Mesa-dev] [PATCH] st/glsl_to_tgsi: fix st_src_reg_for_double constant.

2016-07-04 Thread Dave Airlie
From: Dave Airlie This needs to set the src swizzle so it doesn't access the .zw members ever when we are just emitting a 0 constant here. This fixes: vert-conversion-explicit-dvec3-bvec3.shader_test and a bunch of other fp64 tests on softpipe and radeonsi. Signed-off-by: