i965/miptree: Use > 1 instead of > 0 to check for multisampling
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Wed, 28 Jun 2017 08:40:15 +0000 (11:40 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Tue, 18 Jul 2017 18:35:03 +0000 (21:35 +0300)
commit38f3d03ea902bde384eddb158a90fc07d113740c
treeb41ea24c45e8252f71de24a5ba957c7a003622ec
parent8fd18642e78858d454eac4581a07f00b9591d9c0
i965/miptree: Use > 1 instead of > 0 to check for multisampling

Checking against zero currently works as single sampling is
represented with zero. Once one moves to isl single sampling
really has sample number of one.

This keeps later patches simpler.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/intel_blit.c