diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2023-04-03 16:14:45 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2023-04-17 16:06:17 +0200 |
commit | 5f3c3044a591576ac6ec1f0516cf7791f2c7d1cc (patch) | |
tree | 4eb3e76a6607f786e14dd3464811e55d5c3c83b3 /src/xml/doc/snippets | |
parent | 14feb6792eea28cfa21c781b0fae121fe784d669 (diff) | |
download | qtbase-5f3c3044a591576ac6ec1f0516cf7791f2c7d1cc.tar.gz |
rhi: d3d12: Implement debug markers
As usual this is only doing anything when launched with
QSG_RHI_PROFILE=1. Otherwise the debugMark* functions are
no-ops.
Uses the old PIX API (pix.h) since that is what is available in the
Windows SDK. This works well with RenderDoc. The strings show up
in PIX captures as well although that will warn that the pix.h stuff
is deprecated. Unfortunately using the PIX3 API involves headers and
libraries not part of the Windows SDK so we do not want to open that
can of worms now.
Problem is, pix.h may not be present in some SDKs as shown in the CI.
So use __has_include and lose the whole feature if the header is not
present at build time.
Change-Id: I8606d151f75a492071bf0c8d98b16026ff94d45c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/xml/doc/snippets')
0 files changed, 0 insertions, 0 deletions