summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/rhi/qshader/data/README
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-10-30 01:00:32 +0100
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-10-30 01:00:33 +0100
commitcd04181b2ba20e98a29a1782b3736539f70f6607 (patch)
treea5c82740a2145599d3d9a70598180f0cbe046ad9 /tests/auto/gui/rhi/qshader/data/README
parent3ea6a13a01f513ab491f698109fdf189e6264203 (diff)
parentb56e856d218976bf39d981468267337d8d6223f5 (diff)
Merge remote-tracking branch 'origin/5.15' into dev
Diffstat (limited to 'tests/auto/gui/rhi/qshader/data/README')
-rw-r--r--tests/auto/gui/rhi/qshader/data/README15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/gui/rhi/qshader/data/README b/tests/auto/gui/rhi/qshader/data/README
new file mode 100644
index 0000000000..3d89f2a0c5
--- /dev/null
+++ b/tests/auto/gui/rhi/qshader/data/README
@@ -0,0 +1,15 @@
+Warning: Do NOT regenerate the .qsb files without proper planning and understanding
+the following.
+
+Among other things, we are also testing backwards compatibility for QShader
+deserialization.
+
+.qsb files with _v1 in the name were produced with an older qtshadertools
+and have a QSB_VERSION of 1.
+
+Files with _v2 are generated with a newer qsb, those have QSB_VERSION 2.
+The difference is the support for nativeResourceBindingMap() which is only
+present in v2.
+
+Files with _v3 come from an even newer qsb, and have QSB_VERSION 3. The
+difference to 2 is the use of CBOR instead of binary JSON for QShaderDescription.