summaryrefslogtreecommitdiffstats
path: root/src/gui/rhi/qrhi_p.h
diff options
context:
space:
mode:
authorInho Lee <inho.lee@qt.io>2020-09-16 14:38:58 +0200
committerInho Lee <inho.lee@qt.io>2020-09-21 11:36:14 +0200
commit2a7d6e2779bf0c7915396a8af0e1048d254debc3 (patch)
treea0f02b0039d9c437432152c22e593c4a6f816779 /src/gui/rhi/qrhi_p.h
parent0148c6925ec3b6b9a9d2f57ae44fea292a6625e1 (diff)
Support signed integer attributes on QRHI
Previous UIntAttributes feature is renamed as IntAttributes. Change-Id: I4b4a87a0eebf37291da832605f7bee8fb2d4e62b 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.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/rhi/qrhi_p.h b/src/gui/rhi/qrhi_p.h
index 1e3540fa1f..d8e54fc9aa 100644
--- a/src/gui/rhi/qrhi_p.h
+++ b/src/gui/rhi/qrhi_p.h
@@ -204,7 +204,11 @@ public:
UInt4,
UInt3,
UInt2,
- UInt
+ UInt,
+ SInt4,
+ SInt3,
+ SInt2,
+ SInt
};
QRhiVertexInputAttribute() = default;
@@ -1470,7 +1474,7 @@ public:
ReadBackNonBaseMipLevel,
TexelFetch,
RenderToNonBaseMipLevel,
- UIntAttributes,
+ IntAttributes,
ScreenSpaceDerivatives,
ReadBackAnyTextureFormat
};