9ef702a37b
.. but this will only be supported on Vulkan, OpenGL 3.2+, and Open GL ES 3.2+ for the time being. The situation is: - Vulkan is working. qsb accepts .geom files already, and QShader has existing geometry shader support. - OpenGL 3.2 and OpenGL ES 3.2 are working. - D3D11 is not working. D3D11 supports geometry shaders, but SPIRV- Cross does not support translating geometry shaders to HLSL. - Metal is not working. Metal does not directly support geometry shaders. Change-Id: Ieb7c44c58b8be5f2e2197bf5133cf6847e6c132d Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
22 lines
383 B
CMake
22 lines
383 B
CMake
qt_internal_add_manual_test(geometryshader
|
|
GUI
|
|
SOURCES
|
|
geometryshader.cpp
|
|
PUBLIC_LIBRARIES
|
|
Qt::Gui
|
|
Qt::GuiPrivate
|
|
)
|
|
|
|
set(geometryshader_resource_files
|
|
"test.vert.qsb"
|
|
"test.geom.qsb"
|
|
"test.frag.qsb"
|
|
)
|
|
|
|
qt_internal_add_resource(geometryshader "geometryshader"
|
|
PREFIX
|
|
"/"
|
|
FILES
|
|
${geometryshader_resource_files}
|
|
)
|