i965/nir: fix check to resolve booleans to work with sized nir_alu_type
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Wed, 24 Feb 2016 09:51:22 +0000 (10:51 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Thu, 17 Mar 2016 10:16:33 +0000 (11:16 +0100)
commitc38a25af2f47c6de093c9b0ac0ccdfa9fe48007e
treeae6671b94eef601d4d71865db98dcbe446fe0176
parent78f19194295e3ea3cf219c15bf67dcab5dea4a34
i965/nir: fix check to resolve booleans to work with sized nir_alu_type

As nir_alu_type has now embedded the data size, the check for the
instruction's output type (to see if a boolean resolve is required)
should ignore the data size part.

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/brw_nir_analyze_boolean_resolves.c