diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2022-08-18 12:43:23 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2022-09-01 19:44:19 +0200 |
commit | c681c7c23f79e2f0d6dbb2ce8961edd216cefd91 (patch) | |
tree | 861706d22bb395ff5e1f86c4948a0cc7e8cab9ac /src/gui/rhi/qrhi_p_p.h | |
parent | 855a9ca217ad3b9d8eb8f6544698a174323843fc (diff) |
rhi: metal: Add support for tessellation
Change-Id: Ie8d226a6a959aa5e78284ea72505fd26aec1e671
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhi_p_p.h')
-rw-r--r-- | src/gui/rhi/qrhi_p_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/rhi/qrhi_p_p.h b/src/gui/rhi/qrhi_p_p.h index d7490f07c0..bf596abef1 100644 --- a/src/gui/rhi/qrhi_p_p.h +++ b/src/gui/rhi/qrhi_p_p.h @@ -217,6 +217,9 @@ public: return accumulatedPipelineCreationTime; } + QRhiVertexInputAttribute::Format shaderDescVariableFormatToVertexInputFormat(QShaderDescription::VariableType type) const; + quint32 byteSizePerVertexForVertexInputFormat(QRhiVertexInputAttribute::Format format) const; + QRhi *q; static const int MAX_SHADER_CACHE_ENTRIES = 128; |