summaryrefslogtreecommitdiffstats
path: root/src/gui/rhi/qrhi.h
diff options
context:
space:
mode:
authorAurélien Brooke <aurelien@bahiasoft.fr>2024-02-27 11:38:47 +0100
committerAurélien Brooke <aurelien@bahiasoft.fr>2024-03-01 16:01:45 +0100
commit803abb6323ca7f6a8ea8041aa16d511af727f318 (patch)
treeda1acc13aaefc5f018987827d52c8c8619a226ba /src/gui/rhi/qrhi.h
parentf70e113b2e895fb71db4ee6fb77a91f65e2deae9 (diff)
rhi: add support for short and ushort vertex attributes
[ChangeLog][RHI] Add support for short and ushort vertex attributes Change-Id: I6111a02d442bbad2ec9667ac0336107dd3ab7b62 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhi.h')
-rw-r--r--src/gui/rhi/qrhi.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gui/rhi/qrhi.h b/src/gui/rhi/qrhi.h
index f7a49dc292..6515abdded 100644
--- a/src/gui/rhi/qrhi.h
+++ b/src/gui/rhi/qrhi.h
@@ -250,7 +250,15 @@ public:
Half4,
Half3,
Half2,
- Half
+ Half,
+ UShort4,
+ UShort3,
+ UShort2,
+ UShort,
+ SShort4,
+ SShort3,
+ SShort2,
+ SShort,
};
QRhiVertexInputAttribute() = default;