From 58a67e4e0a88e52d71eef5d08df1465f7ac610ae Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Mon, 28 Oct 2019 16:37:57 +0100 Subject: rhi: Move to CBOR in QShader and expand the autotest Binary JSON is said to become deprecated. Therefore, add support for CBOR. Binary JSON is still supported for deserialization, so all existing .qsb files will continue to work, as long as the binaryjson feature is enabled in the Qt build. Also makes QShaderDescription comparable. This is important for tests in particular. A nice side effect of using CBOR is that .qsb files become smaller. For a typical Qt Quick material shader this can mean a reduction of 300 bytes or more. Task-number: QTBUG-79576 Change-Id: I5547c0266e3e8128c9653e954e47487352267f71 Reviewed-by: Paul Olav Tvete --- tests/auto/gui/rhi/qshader/data/color_all_v1.vert.qsb | Bin 0 -> 1847 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/auto/gui/rhi/qshader/data/color_all_v1.vert.qsb (limited to 'tests/auto/gui/rhi/qshader/data/color_all_v1.vert.qsb') diff --git a/tests/auto/gui/rhi/qshader/data/color_all_v1.vert.qsb b/tests/auto/gui/rhi/qshader/data/color_all_v1.vert.qsb new file mode 100644 index 0000000000..7d02d823d2 Binary files /dev/null and b/tests/auto/gui/rhi/qshader/data/color_all_v1.vert.qsb differ -- cgit v1.2.3