From df40607e8afeca83dff634f1ab8cc3d335f9feb9 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Mon, 7 Sep 2020 10:31:10 +0200 Subject: Make twotextureproviders example functional again Change-Id: I6a317fc8628b902e535a31daf4a3886fc87d08bc Reviewed-by: Andy Nichols --- .../twotextureproviders/shaders/checker.frag.qsb | Bin 1824 -> 1611 bytes .../twotextureproviders/shaders/compile.bat | 42 +++++++++++++++++++++ .../shaders/xorblender.frag.qsb | Bin 1941 -> 1656 bytes .../shaders/xorblender.vert.qsb | Bin 1815 -> 1693 bytes 4 files changed, 42 insertions(+) create mode 100644 examples/quick/scenegraph/twotextureproviders/shaders/compile.bat (limited to 'examples') diff --git a/examples/quick/scenegraph/twotextureproviders/shaders/checker.frag.qsb b/examples/quick/scenegraph/twotextureproviders/shaders/checker.frag.qsb index edcfad488b..22938479d1 100644 Binary files a/examples/quick/scenegraph/twotextureproviders/shaders/checker.frag.qsb and b/examples/quick/scenegraph/twotextureproviders/shaders/checker.frag.qsb differ diff --git a/examples/quick/scenegraph/twotextureproviders/shaders/compile.bat b/examples/quick/scenegraph/twotextureproviders/shaders/compile.bat new file mode 100644 index 0000000000..99e0ff2a91 --- /dev/null +++ b/examples/quick/scenegraph/twotextureproviders/shaders/compile.bat @@ -0,0 +1,42 @@ +::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:: +:: Copyright (C) 2020 The Qt Company Ltd. +:: Contact: https://www.qt.io/licensing/ +:: +:: This file is part of the QtQuick module of the Qt Toolkit. +:: +:: $QT_BEGIN_LICENSE:LGPL$ +:: Commercial License Usage +:: Licensees holding valid commercial Qt licenses may use this file in +:: accordance with the commercial license agreement provided with the +:: Software or, alternatively, in accordance with the terms contained in +:: a written agreement between you and The Qt Company. For licensing terms +:: and conditions see https://www.qt.io/terms-conditions. For further +:: information use the contact form at https://www.qt.io/contact-us. +:: +:: GNU Lesser General Public License Usage +:: Alternatively, this file may be used under the terms of the GNU Lesser +:: General Public License version 3 as published by the Free Software +:: Foundation and appearing in the file LICENSE.LGPL3 included in the +:: packaging of this file. Please review the following information to +:: ensure the GNU Lesser General Public License version 3 requirements +:: will be met: https://www.gnu.org/licenses/lgpl-3.0.html. +:: +:: GNU General Public License Usage +:: Alternatively, this file may be used under the terms of the GNU +:: General Public License version 2.0 or (at your option) the GNU General +:: Public license version 3 or any later version approved by the KDE Free +:: Qt Foundation. The licenses are as published by the Free Software +:: Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 +:: included in the packaging of this file. Please review the following +:: information to ensure the GNU General Public License requirements will +:: be met: https://www.gnu.org/licenses/gpl-2.0.html and +:: https://www.gnu.org/licenses/gpl-3.0.html. +:: +:: $QT_END_LICENSE$ +:: +::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: + +qsb --glsl "100es,120,150" --hlsl 50 --msl 12 -c -O -o checker.frag.qsb checker.frag +qsb -b --glsl "100es,120,150" --hlsl 50 --msl 12 -c -O -o xorblender.vert.qsb xorblender.vert +qsb --glsl "100es,120,150" --hlsl 50 --msl 12 -c -O -o xorblender.frag.qsb xorblender.frag diff --git a/examples/quick/scenegraph/twotextureproviders/shaders/xorblender.frag.qsb b/examples/quick/scenegraph/twotextureproviders/shaders/xorblender.frag.qsb index 7a5280ba08..75763e265b 100644 Binary files a/examples/quick/scenegraph/twotextureproviders/shaders/xorblender.frag.qsb and b/examples/quick/scenegraph/twotextureproviders/shaders/xorblender.frag.qsb differ diff --git a/examples/quick/scenegraph/twotextureproviders/shaders/xorblender.vert.qsb b/examples/quick/scenegraph/twotextureproviders/shaders/xorblender.vert.qsb index d643c7be6a..b91a3d9250 100644 Binary files a/examples/quick/scenegraph/twotextureproviders/shaders/xorblender.vert.qsb and b/examples/quick/scenegraph/twotextureproviders/shaders/xorblender.vert.qsb differ -- cgit v1.2.3