qt5base-lts/tests/manual/rhi/polygonmode/CMakeLists.txt
Ben Fletcher 1c3ae79ad3 rhi: Add support for polygon fill mode
Support for Polygon Mode (Triangle Fill Mode in Metal, Fill Mode in D3D)
in the RHI graphics pipeline.

Options are Fill and Line

Status:
    OpenGL - ok
    Vulkan - ok
    Metal - ok
    D3D11 - ok
    OpenGL ES - does not support glPolygonMode.

Change-Id: I20b7ef416624700c3dc8d1cbe6474f4ca3889db8
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
2022-01-31 08:52:05 -08:00

21 lines
345 B
CMake

qt_internal_add_manual_test(polygonmode
GUI
SOURCES
polygonmode.cpp
PUBLIC_LIBRARIES
Qt::Gui
Qt::GuiPrivate
)
set(polygonmode_resource_files
"test.vert.qsb"
"test.frag.qsb"
)
qt_internal_add_resource(polygonmode "polygonmode"
PREFIX
"/"
FILES
${polygonmode_resource_files}
)