summaryrefslogtreecommitdiffstats
path: root/src/gui/rhi/qrhi.cpp
diff options
context:
space:
mode:
authorInho Lee <inho.lee@qt.io>2020-05-14 15:32:07 +0200
committerInho Lee <inho.lee@qt.io>2020-05-27 11:54:56 +0200
commit2503a59e353e5714b184b499e10969aed9f80465 (patch)
treef2d582226ea16045796aa159773cc2d75455e2a8 /src/gui/rhi/qrhi.cpp
parent524d78160726b25ed424a2c7a6d5e423b7ea4b93 (diff)
QRhiVertexInputAttribute : Add unsigned int formats for vertex input
Task-number: QTBUG-83173 Change-Id: I640cd1fe74227d2cc96672d6c7aaac93e1930bcd Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhi.cpp')
-rw-r--r--src/gui/rhi/qrhi.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/rhi/qrhi.cpp b/src/gui/rhi/qrhi.cpp
index 798c5e1a8a..9fc2f68b11 100644
--- a/src/gui/rhi/qrhi.cpp
+++ b/src/gui/rhi/qrhi.cpp
@@ -589,6 +589,13 @@ Q_LOGGING_CATEGORY(QRHI_LOG_INFO, "qt.rhi.general")
whenever the target mip level is not zero. In practice this feature will be
unsupported with OpenGL ES 2.0, while it will likely be supported everywhere
else.
+
+ \value UIntAttributes Indicates that specifying input attributes with an unsigned
+ integer type for a shader pipeline is supported. When not supported, build()
+ will succeed but just show a warning message and the values of unsigned int
+ type attributes will be broken. In practice this feature will be unsupported
+ with OpenGL ES 2.0 and OpenGL 2.x, while it will likely be supported
+ everywhere else.
*/
/*!