intel/blorp: Assert levels and layers are in range
authorNanley Chery <nanley.g.chery@intel.com>
Thu, 11 May 2017 17:58:18 +0000 (10:58 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Mon, 26 Jun 2017 18:09:12 +0000 (11:09 -0700)
commitb46a07175823ec476505cb8a0f8c353e5183d748
treeeec93e34ce121da4a66e7c364e8d68c0d60a9c88
parent28550c787595f04453d2a39f46f570a891368fcf
intel/blorp: Assert levels and layers are in range

v2 (Jason Ekstrand):
- Update commit title.
- Check aux level and layer as well.
v3 (Jason Ekstrand):
- Move the non-aux layer check.

Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> (v1)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/blorp/blorp.c
src/intel/blorp/blorp_clear.c