Re: [Mesa-dev] [PATCH] nir: Only float and double types can be matrices

2016-12-06 Thread Jason Ekstrand
Reviewed-by: Jason Ekstrand Might be worth adding something to nir_validate at some point. Doesn't have to be today though. --Jason On Tue, Dec 6, 2016 at 5:32 PM, Ian Romanick wrote: > From: Ian Romanick > > In 19a541f

[Mesa-dev] [PATCH] nir: Only float and double types can be matrices

2016-12-06 Thread Ian Romanick
From: Ian Romanick In 19a541f (nir: Get rid of nir_constant_data) a number of places that operated on nir_constant::values were mechanically converted to operate on the whole array without regard for the base type. Only GLSL_TYPE_FLOAT and GLSL_TYPE_DOUBLE can be