anv/device: Fix viewportBoundsRange
authorNanley Chery <nanley.g.chery@intel.com>
Tue, 17 May 2016 22:28:01 +0000 (15:28 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Wed, 18 May 2016 23:01:50 +0000 (16:01 -0700)
commit7ac08adfb4af3157171a565e353f608365c5dde5
treed1de90306009d3d832099cfe531a0e13789150a3
parent61b67892522c89800541ed4f266ab88e5f1db620
anv/device: Fix viewportBoundsRange

Align with the spec requirement that the range must be at least
[−2 × maxViewportDimensions, 2 × maxViewportDimensions − 1]. Our
hardware supports this.

Fixes dEQP-VK.api.info.device.properties

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94896
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/intel/vulkan/anv_device.c