Re: [Mesa-dev] [PATCH] st/mesa: swizzle argument when there's a vector size mismatch

2017-12-04 Thread Ilia Mirkin
Yeah, the typo was a last second edit, as always. Thanks for making a sample failing case, will investigate. I hate all these interpolateat tests :( so many edge cases... On Dec 4, 2017 2:51 PM, "Marek Olšák" wrote: > There is a typo, so it doesn't build. > > It breaks these CTS tests: > gl45-ct

Re: [Mesa-dev] [PATCH] st/mesa: swizzle argument when there's a vector size mismatch

2017-12-04 Thread Marek Olšák
There is a typo, so it doesn't build. It breaks these CTS tests: gl45-cts@shader_multisample_interpolation@render@interpolate_at_offset* Error: state_tracker/st_glsl_to_tgsi.cpp:1347: void glsl_to_tgsi_visitor::visit_expression(ir_expression*, st_src_reg*): Assertion `ir->operands[1]->type->vecto

[Mesa-dev] [PATCH] st/mesa: swizzle argument when there's a vector size mismatch

2017-12-02 Thread Ilia Mirkin
GLSL IR operation arguments can sometimes have an implicit swizzle as a result of a vector arg and a scalar arg, where the scalar argument is implicitly expanded to the size of the vector argument. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103955 Signed-off-by: Ilia Mirkin --- I'm *