1c3ae79ad3
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>
21 lines
345 B
CMake
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}
|
|
)
|