![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qrhid3d11_p.h"
#include "qshader.h"
#include "vs_test_p.h"
#include <QWindow>
#include <qmath.h>
#include <QtCore/qcryptographichash.h>
#include <QtCore/private/qsystemerror_p.h>
#include "qrhid3dhelpers_p.h"
#include <cstdio>
Go to the source code of this file.
Classes | |
struct | QD3D11PipelineCacheDataHeader |
Macros | |
#define | DXGI_ADAPTER_FLAG_SOFTWARE 2 |
\variable QRhiD3D11NativeHandles::dev | |
#define | D3D11_1_UAV_SLOT_COUNT 64 |
#define | D3D11_VS_INPUT_REGISTER_COUNT 32 |
#define | SETUBUFBATCH(stagePrefixL, stagePrefixU) |
#define | SETSAMPLERBATCH(stagePrefixL, stagePrefixU) |
#define | SETUAVBATCH(stagePrefixL, stagePrefixU) |
#define | SETSHADER(StageL, StageU) |
Variables | |
static const int | RBM_SUPPORTED_STAGES = 6 |
static const int | RBM_VERTEX = 0 |
static const int | RBM_HULL = 1 |
static const int | RBM_DOMAIN = 2 |
static const int | RBM_GEOMETRY = 3 |
static const int | RBM_FRAGMENT = 4 |
static const int | RBM_COMPUTE = 5 |
static const DXGI_FORMAT | DEFAULT_FORMAT = DXGI_FORMAT_R8G8B8A8_UNORM |
static const DXGI_FORMAT | DEFAULT_SRGB_FORMAT = DXGI_FORMAT_R8G8B8A8_UNORM_SRGB |
#define D3D11_1_UAV_SLOT_COUNT 64 |
Definition at line 149 of file qrhid3d11.cpp.
#define D3D11_VS_INPUT_REGISTER_COUNT 32 |
Definition at line 153 of file qrhid3d11.cpp.
#define DXGI_ADAPTER_FLAG_SOFTWARE 2 |
\variable QRhiD3D11NativeHandles::dev
Points to a \l{https://learn.microsoft.com/en-us/windows/win32/api/d3d11/nn-d3d11-id3d11device}{ID3D11Device} or left set to \nullptr if no existing device is to be imported.
\variable QRhiD3D11NativeHandles::context
Points to a \l{https://learn.microsoft.com/en-us/windows/win32/api/d3d11/nn-d3d11-id3d11devicecontext}{ID3D11DeviceContext} or left set to \nullptr if no existing device context is to be imported.
\variable QRhiD3D11NativeHandles::featureLevel
Specifies the feature level passed to \l{https://learn.microsoft.com/en-us/windows/win32/api/d3d11/nf-d3d11-d3d11createdevice}{D3D11CreateDevice()}. Relevant only when QRhi creates the device, ignored when importing a device and device context. When not set, the default rules outlined in the D3D documentation apply.
\variable QRhiD3D11NativeHandles::adapterLuidLow
The low part of the local identifier (LUID) of the DXGI adapter to use. Relevant only when QRhi creates the device, ignored when importing a device and device context.
\variable QRhiD3D11NativeHandles::adapterLuidHigh
The high part of the local identifier (LUID) of the DXGI adapter to use. Relevant only when QRhi creates the device, ignored when importing a device and device context.
Definition at line 145 of file qrhid3d11.cpp.
#define SETSAMPLERBATCH | ( | stagePrefixL, | |
stagePrefixU ) |
Definition at line 2742 of file qrhid3d11.cpp.
#define SETSHADER | ( | StageL, | |
StageU ) |
Definition at line 2898 of file qrhid3d11.cpp.
#define SETUAVBATCH | ( | stagePrefixL, | |
stagePrefixU ) |
Definition at line 2761 of file qrhid3d11.cpp.
#define SETUBUFBATCH | ( | stagePrefixL, | |
stagePrefixU ) |
Definition at line 2713 of file qrhid3d11.cpp.
\variable QRhiVulkanQueueSubmitParams::waitSemaphoreCount
See \l{https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkSubmitInfo.html}{VkSubmitInfo} for details.
\variable QRhiVulkanQueueSubmitParams::waitSemaphores
See \l{https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkSubmitInfo.html}{VkSubmitInfo} for details.
\variable QRhiVulkanQueueSubmitParams::signalSemaphoreCount
See \l{https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkSubmitInfo.html}{VkSubmitInfo} for details.
\variable QRhiVulkanQueueSubmitParams::signalSemaphores
See \l{https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkSubmitInfo.html}{VkSubmitInfo} for details.
\variable QRhiVulkanQueueSubmitParams::presentWaitSemaphoreCount
When non-zero, this applies to the next vkQueuePresentKHR()
call. See \l{https://registry.khronos.org/VulkanSC/specs/1.0-extensions/man/html/VkPresentInfoKHR.html}{VkPresentInfoKHR} for details.
\variable QRhiVulkanQueueSubmitParams::presentWaitSemaphores
See \l{https://registry.khronos.org/VulkanSC/specs/1.0-extensions/man/html/VkPresentInfoKHR.html}{VkPresentInfoKHR} for details.
Definition at line 180 of file qrhid3d11.cpp.
|
static |
Definition at line 2679 of file qrhid3d11.cpp.
|
inlinestatic |
Definition at line 2703 of file qrhid3d11.cpp.
|
static |
Definition at line 185 of file qrhid3d11.cpp.
|
inlinestatic |
Definition at line 1775 of file qrhid3d11.cpp.
|
inlinestatic |
Definition at line 2370 of file qrhid3d11.cpp.
|
inline |
Definition at line 4273 of file qrhid3d11.cpp.
|
inlinestatic |
Definition at line 1436 of file qrhid3d11.cpp.
Referenced by QRhiD3D11::beginFrame(), QRhiD3D11::beginPass(), and QRhiD3D11::executeCommandBuffer().
|
inlinestatic |
Definition at line 4563 of file qrhid3d11.cpp.
|
inlinestatic |
Definition at line 1747 of file qrhid3d11.cpp.
|
inlinestatic |
Definition at line 3841 of file qrhid3d11.cpp.
|
inlinestatic |
Definition at line 4394 of file qrhid3d11.cpp.
|
inlinestatic |
Definition at line 4493 of file qrhid3d11.cpp.
|
inlinestatic |
Definition at line 4544 of file qrhid3d11.cpp.
|
inlinestatic |
Definition at line 3141 of file qrhid3d11.cpp.
|
inlinestatic |
Definition at line 4479 of file qrhid3d11.cpp.
|
inlinestatic |
Definition at line 4344 of file qrhid3d11.cpp.
|
inlinestatic |
Definition at line 4316 of file qrhid3d11.cpp.
|
inlinestatic |
Definition at line 3445 of file qrhid3d11.cpp.
|
inlinestatic |
Definition at line 3426 of file qrhid3d11.cpp.
|
inlinestatic |
Definition at line 4331 of file qrhid3d11.cpp.
|
inlinestatic |
Definition at line 3809 of file qrhid3d11.cpp.
|
inlinestatic |
Definition at line 4369 of file qrhid3d11.cpp.
|
inlinestatic |
Definition at line 3856 of file qrhid3d11.cpp.
|
inlinestatic |
Definition at line 1644 of file qrhid3d11.cpp.
|
inlinestatic |
Definition at line 4457 of file qrhid3d11.cpp.
|
static |
Definition at line 5258 of file qrhid3d11.cpp.
|
static |
Definition at line 5259 of file qrhid3d11.cpp.
|
static |
Definition at line 1031 of file qrhid3d11.cpp.
Referenced by QRhiD3D11::setShaderResources(), and QRhiD3D11::updateShaderResourceBindings().
|
static |
Definition at line 1028 of file qrhid3d11.cpp.
Referenced by QRhiD3D11::setShaderResources(), and QRhiD3D11::updateShaderResourceBindings().
|
static |
Definition at line 1030 of file qrhid3d11.cpp.
Referenced by QRhiD3D11::setShaderResources(), and QRhiD3D11::updateShaderResourceBindings().
|
static |
Definition at line 1029 of file qrhid3d11.cpp.
Referenced by QRhiD3D11::setShaderResources(), and QRhiD3D11::updateShaderResourceBindings().
|
static |
Definition at line 1027 of file qrhid3d11.cpp.
Referenced by QRhiD3D11::setShaderResources(), and QRhiD3D11::updateShaderResourceBindings().
|
static |
Definition at line 1025 of file qrhid3d11.cpp.
Referenced by QRhiD3D11::setShaderResources(), and QRhiD3D11::updateShaderResourceBindings().
|
static |
Definition at line 1026 of file qrhid3d11.cpp.
Referenced by QRhiD3D11::setShaderResources(), and QRhiD3D11::updateShaderResourceBindings().