diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2021-07-27 18:37:35 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2021-08-11 08:05:22 +0000 |
commit | 21cb0711c4d9bbd9d5d4b32899bf037dc8f1f4db (patch) | |
tree | 12b5d3aa88be31c3caa79b320238d4b73492d900 /src/plugins/cpptools/cpptoolsplugin.cpp | |
parent | 84a017051693bab44a96f92fb4fd3f0c60264800 (diff) | |
download | qt-creator-21cb0711c4d9bbd9d5d4b32899bf037dc8f1f4db.tar.gz |
Tracing/QmlProfiler: Port shaders to Qt 6
For each shader in Tracing and QmlProfiler:
- Add a vert/frag variant in Vulkan style GLSL
- Include the shader via qt_add_shaders
- Implement RHI/Qt6-specific code for loading the shaders and for
updating the uniform buffer
- Set the material's QSGMaterial::CustomCompileStep flag to affect the z
value the same way as the Qt 5 code does
Building of Tracing, QmlProfiler, etc. with Qt 6 depends on the Qt
Shader tools being installed.
Fixes: QTCREATORBUG-20575
Change-Id: I9aba5a777da9a549da0cdd0a217dfcb346c72e58
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cpptoolsplugin.cpp')
0 files changed, 0 insertions, 0 deletions