| 1 |
Warning: Do NOT regenerate the .qsb files without proper planning and understanding |
| 2 |
the following. |
| 3 |
|
| 4 |
Among other things, we are also testing backwards compatibility for QShader |
| 5 |
deserialization. |
| 6 |
|
| 7 |
.qsb files with _v1 in the name were produced with an older qtshadertools |
| 8 |
and have a QSB_VERSION of 1. |
| 9 |
|
| 10 |
Files with _v2 are generated with a newer qsb, those have QSB_VERSION 2. |
| 11 |
The difference is the support for nativeResourceBindingMap() which is only |
| 12 |
present in v2. |
| 13 |
|
| 14 |
Files with _v3 come from an even newer qsb, and have QSB_VERSION 3. The |
| 15 |
difference to 2 is the use of CBOR instead of binary JSON for QShaderDescription. |