i965: Check eu/subslices are > 0
authorBen Widawsky <benjamin.widawsky@intel.com>
Thu, 7 Apr 2016 17:53:14 +0000 (10:53 -0700)
committerBen Widawsky <benjamin.widawsky@intel.com>
Fri, 8 Apr 2016 18:52:29 +0000 (11:52 -0700)
commite5295b5fb442d433b22e3b6f4b5c28a0e48677cd
tree6548cc2c360ba351410a01958cb494f0d7dd6e34
parentcc01b63d730d151097dd6c3d2030a4731e09a393
i965: Check eu/subslices are > 0

Now that the check is restricted to gen8+, we should always get back a non-zero
positive value for the EU and subslice counts.

Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_screen.c