summaryrefslogtreecommitdiffstats
path: root/src/gui/rhi/qrhi_p.h
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_p.h
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_p.h')
-rw-r--r--src/gui/rhi/qrhi_p.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gui/rhi/qrhi_p.h b/src/gui/rhi/qrhi_p.h
index 928d708624..a031ea4f4b 100644
--- a/src/gui/rhi/qrhi_p.h
+++ b/src/gui/rhi/qrhi_p.h
@@ -200,7 +200,11 @@ public:
Float,
UNormByte4,
UNormByte2,
- UNormByte
+ UNormByte,
+ UInt4,
+ UInt3,
+ UInt2,
+ UInt
};
QRhiVertexInputAttribute() = default;
@@ -1450,7 +1454,8 @@ public:
ReadBackNonUniformBuffer,
ReadBackNonBaseMipLevel,
TexelFetch,
- RenderToNonBaseMipLevel
+ RenderToNonBaseMipLevel,
+ UIntAttributes
};
enum BeginFrameFlag {