Commit 20f5ae08 authored by Laszlo Agocs's avatar Laszlo Agocs
Browse files

Turn manual tests into examples

parent d8d4300a
TEMPLATE = subdirs
SUBDIRS += \
rhi \
shadertools
......@@ -20,3 +20,6 @@ HEADERS = \
INCLUDEPATH += ../shared
RESOURCES = plainqwindow_d3d11.qrc
target.path = $$[QT_INSTALL_EXAMPLES]/rhi/plainqwindow_d3d11
INSTALLS += target
......@@ -20,3 +20,6 @@ HEADERS = \
INCLUDEPATH += ../shared
RESOURCES = plainqwindow_gles2.qrc
target.path = $$[QT_INSTALL_EXAMPLES]/rhi/plainqwindow_gles2
INSTALLS += target
......@@ -45,6 +45,7 @@ void MetalWindow::init()
QRhiMetalInitParams params;
m_r = QRhi::create(QRhi::Metal, &params);
// ### the backend is incomplete so do only the triangle for now
setOnScreenOnly(true);
setTriangleOnly(true);
......
......@@ -20,3 +20,6 @@ HEADERS = \
INCLUDEPATH += ../shared
RESOURCES = plainqwindow_metal.qrc
target.path = $$[QT_INSTALL_EXAMPLES]/rhi/plainqwindow_metal
INSTALLS += target
......@@ -20,3 +20,6 @@ HEADERS = \
INCLUDEPATH += ../shared
RESOURCES = plainqwindow_vulkan.qrc
target.path = $$[QT_INSTALL_EXAMPLES]/rhi/plainqwindow_vulkan
INSTALLS += target
TEMPLATE = subdirs
SUBDIRS += \
plainqwindow_gles2
......@@ -17,8 +18,3 @@ mac {
SUBDIRS += \
plainqwindow_metal
}
SUBDIRS += \
oneshaderthreecontexts_prebaked \
oneshaderthreecontexts_runtime \
qsc
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment