diff options
author | Antti Määttä <antti.maatta@qt.io> | 2020-02-07 14:12:42 +0200 |
---|---|---|
committer | Antti Määttä <antti.maatta@qt.io> | 2020-02-10 14:02:35 +0200 |
commit | bff0bf78b328b730843abf0e79f58e8411908de5 (patch) | |
tree | 6fcf341f3d79dfc6d9af50d52b99f4c603fba287 /src/runtimerender/Qt3DSRenderShaderCache.h | |
parent | 90dd0bdcf1c9e3a1eddee8abcf4307c06e82e37b (diff) |
Implement shader cache loading error handling
Task-number: QT3DS-4040
Change-Id: Ie5f8284ab76cd4aa5f3ff0701457f4ef84c3e215
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/runtimerender/Qt3DSRenderShaderCache.h')
-rw-r--r-- | src/runtimerender/Qt3DSRenderShaderCache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtimerender/Qt3DSRenderShaderCache.h b/src/runtimerender/Qt3DSRenderShaderCache.h index d03bc65..35713bd 100644 --- a/src/runtimerender/Qt3DSRenderShaderCache.h +++ b/src/runtimerender/Qt3DSRenderShaderCache.h @@ -103,7 +103,7 @@ namespace render { // source code is exported virtual QByteArray exportShaderCache(bool binaryShaders) = 0; // This call immediately blocks and attempts to load all shaders from the shaderCache - virtual void importShaderCache(const QByteArray &shaderCache) = 0; + virtual void importShaderCache(const QByteArray &shaderCache, QString &errors) = 0; // It is up to the caller to ensure that inFeatures contains unique keys. // It is also up the the caller to ensure the keys are ordered in some way. virtual NVRenderShaderProgram * |