diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2022-04-21 12:43:39 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2022-04-22 14:34:46 +0200 |
commit | 4f2b4e0e5ef021864ceb05299ebf67f9751777d2 (patch) | |
tree | a69a2b65a6624f662067403d2c085e4e89faaab7 /tests/auto/gui/rhi | |
parent | 7fa2a1a479e961edbc1e5f0009c1ac5d2a6a1a06 (diff) |
rhi: Add a feature flag for non-fill polygon modes
It's one thing that this is not part of OpenGL ES, but it is optional
even with Vulkan, with some mobile GPUs not offering the feature at all.
Change-Id: I4e2c6642eccb0793e69074b4b6eeb2b7cef3516e
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'tests/auto/gui/rhi')
-rw-r--r-- | tests/auto/gui/rhi/qrhi/tst_qrhi.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp b/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp index a0b2345d24..feefd849cd 100644 --- a/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp +++ b/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp @@ -407,7 +407,8 @@ void tst_QRhi::create() QRhi::TextureArrays, QRhi::Tessellation, QRhi::GeometryShader, - QRhi::TextureArrayRange + QRhi::TextureArrayRange, + QRhi::NonFillPolygonMode }; for (size_t i = 0; i <sizeof(features) / sizeof(QRhi::Feature); ++i) rhi->isFeatureSupported(features[i]); |