diff options
author | Andrew Knight <andrew.knight@digia.com> | 2014-03-20 13:22:37 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-20 13:59:33 +0100 |
commit | 33cac84df30770de2a2c27d4b1288a658db1b638 (patch) | |
tree | 467c36f2bb98f07efff30457976df7cac41bb7cc /mkspecs | |
parent | 503d761c0867760b96d6f7f6d44854926c6b7e0c (diff) |
ANGLE D3D11: Fix internal index buffer for level 9 hardware
Some level 9 hardware does not support 32-bit indices, and in most
places this is already checked. It would appear that most phone
hardware actually does support 32-bit indices, and so this bug wasn't
caught until testing on the Surface RT. This is not surprising, as some
level 9 resources are only a minimum for the hardware spec, not the
true limit of the device/driver.
This patch provides the general fix to use 16-bit indices on such
hardware, but a whitelist of known good GPUs should be added to enable
32-bit indices where available.
Change-Id: I282ede5dd4a323037ade6c44b7cfac2c6445b491
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@digia.com>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions