QtRhi: make two plain arrays inline and constexpr
In the current case they can be inline and constexpr. Task-number: QTBUG-100485 Change-Id: I8c200c0a756edbff914c4be8ba08fe6afbd61114 Reviewed-by: Marc Mutz <marc.mutz@qt.io> (cherry picked from commit f003e25258e0fd546abe5857f20b626f160beb81) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
ed3d60cfca
commit
1906d225f9
@ -70,7 +70,7 @@ ret
|
|||||||
// Approximately 5 instruction slots used
|
// Approximately 5 instruction slots used
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const BYTE g_killDeviceByTimingOut[] =
|
inline constexpr BYTE g_killDeviceByTimingOut[] =
|
||||||
{
|
{
|
||||||
68, 88, 66, 67, 217, 62,
|
68, 88, 66, 67, 217, 62,
|
||||||
220, 38, 136, 51, 86, 245,
|
220, 38, 136, 51, 86, 245,
|
||||||
|
@ -76,7 +76,7 @@ ret
|
|||||||
// Approximately 6 instruction slots used
|
// Approximately 6 instruction slots used
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const BYTE g_testVertexShader[] =
|
inline constexpr BYTE g_testVertexShader[] =
|
||||||
{
|
{
|
||||||
68, 88, 66, 67, 75, 198,
|
68, 88, 66, 67, 75, 198,
|
||||||
18, 149, 172, 244, 247, 123,
|
18, 149, 172, 244, 247, 123,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user