commit shaderc for openSUSE:Factory

2020-09-15 Thread root
Hello community,

here is the log from the commit of package shaderc for openSUSE:Factory checked 
in at 2020-09-15 16:26:28

Comparing /work/SRC/openSUSE:Factory/shaderc (Old)
 and  /work/SRC/openSUSE:Factory/.shaderc.new.4249 (New)


Package is "shaderc"

Tue Sep 15 16:26:28 2020 rev:7 rq:833795 version:2020.3

Changes:

--- /work/SRC/openSUSE:Factory/shaderc/shaderc.changes  2020-08-17 
16:41:45.877823963 +0200
+++ /work/SRC/openSUSE:Factory/.shaderc.new.4249/shaderc.changes
2020-09-15 16:26:40.166503688 +0200
@@ -1,0 +2,7 @@
+Fri Sep  4 12:08:28 UTC 2020 - Jan Engelhardt 
+
+- Update to release 2020.3:
+  * spvc: added support for Dawn using deprecated Options constructor
+  * spvc: added support for the additional fixed sample mask in MSL
+
+---

Old:

  v2020.2.tar.gz

New:

  v2020.3.tar.gz



Other differences:
--
++ shaderc.spec ++
--- /var/tmp/diff_new_pack.H92yGW/_old  2020-09-15 16:26:41.238504714 +0200
+++ /var/tmp/diff_new_pack.H92yGW/_new  2020-09-15 16:26:41.242504718 +0200
@@ -18,7 +18,7 @@
 
 Name:   shaderc
 %define lname libshaderc_shared1
-Version:2020.2
+Version:2020.3
 Release:0
 Summary:A collection of tools, libraries and tests for shader 
compilation
 License:Apache-2.0

++ v2020.2.tar.gz -> v2020.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/shaderc-2020.2/.gitignore 
new/shaderc-2020.3/.gitignore
--- old/shaderc-2020.2/.gitignore   2020-07-23 23:43:08.0 +0200
+++ new/shaderc-2020.3/.gitignore   2020-09-02 21:52:17.0 +0200
@@ -1,5 +1,6 @@
 build/
 build-*/
+out/
 *.pyc
 *.swp
 compile_commands.json
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/shaderc-2020.2/CHANGES new/shaderc-2020.3/CHANGES
--- old/shaderc-2020.2/CHANGES  2020-07-23 23:43:08.0 +0200
+++ new/shaderc-2020.3/CHANGES  2020-09-02 21:52:17.0 +0200
@@ -1,5 +1,13 @@
 Revision history for Shaderc
 
+v2020.3 2020-09-02
+ - General:
+   - Last release with spvc
+   - Cleaned up issues discovered by Infer
+ - spvc:
+   - Added support for Dawn using deprecated Options constructor
+   - Adding support for the additional fixed sample mask in MSL
+
 v2020.2 2020-07-23
  - General:
- Remove VS2013 support
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/shaderc-2020.2/DEPS new/shaderc-2020.3/DEPS
--- old/shaderc-2020.2/DEPS 2020-07-23 23:43:08.0 +0200
+++ new/shaderc-2020.3/DEPS 2020-09-02 21:52:17.0 +0200
@@ -5,12 +5,12 @@
   'khronos_git': 'https://github.com/KhronosGroup',
 
   'effcee_revision' : '2ec8f8738118cc483b67c04a759fee53496c5659',
-  'glslang_revision': '3ee5f2f1d3316e228916788b300d786bb574d337',
-  'googletest_revision': 'a781fe29bcf73003559a3583167fe3d647518464',
+  'glslang_revision': '517f39eee46f27c83527117d831c4d7e2f7c9fe3',
+  'googletest_revision': 'df6b75949b1efab7606ba60c0f0a0125ac95c5af',
   're2_revision': 'ca11026a032ce2a3de4b3c389ee53d2bdc8794d6',
-  'spirv_headers_revision': '979924c8bc839e4cb1b69d03d48398551f369ce7',
-  'spirv_tools_revision': '969f0286479b89267b6c89f6d5223285c265e6ae',
-  'spirv_cross_revision': '6575e451f5bffded6e308988362224dd076b0f2b',
+  'spirv_headers_revision': '3fdabd0da2932c276b25b9b4a988ba134eba1aa6',
+  'spirv_tools_revision': '8a0ebd40f86d1f18ad42ea96c6ac53915076c3c7',
+  'spirv_cross_revision': '685f86471e9d26b3eb7676695a2e2cefb4551ae9',
 }
 
 deps = {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/shaderc-2020.2/libshaderc/src/shaderc_cpp_test.cc 
new/shaderc-2020.3/libshaderc/src/shaderc_cpp_test.cc
--- old/shaderc-2020.2/libshaderc/src/shaderc_cpp_test.cc   2020-07-23 
23:43:08.0 +0200
+++ new/shaderc-2020.3/libshaderc/src/shaderc_cpp_test.cc   2020-09-02 
21:52:17.0 +0200
@@ -363,7 +363,7 @@
   const AssemblyCompilationResult result = compiler_.CompileGlslToSpvAssembly(
   kMinimalShader, shaderc_glsl_vertex_shader, "shader", options_);
   EXPECT_TRUE(CompilationResultIsSuccess(result));
-  // This should work with both the glslang native disassembly format and the
+  // This should work with both the glslang disassembly format and the
   // SPIR-V Tools assembly format.
   EXPECT_THAT(CompilerOutputAsString(result), HasSubstr("Capability Shader"));
   EXPECT_THAT(CompilerOutputAsString(result), HasSubstr("MemoryModel"));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/shaderc-2020.2/libshaderc/src/shaderc_test.cc 

commit shaderc for openSUSE:Factory

2020-08-17 Thread root
Hello community,

here is the log from the commit of package shaderc for openSUSE:Factory checked 
in at 2020-08-17 16:41:25

Comparing /work/SRC/openSUSE:Factory/shaderc (Old)
 and  /work/SRC/openSUSE:Factory/.shaderc.new.3399 (New)


Package is "shaderc"

Mon Aug 17 16:41:25 2020 rev:6 rq:827352 version:2020.2

Changes:

--- /work/SRC/openSUSE:Factory/shaderc/shaderc.changes  2020-04-14 
15:17:16.992521263 +0200
+++ /work/SRC/openSUSE:Factory/.shaderc.new.3399/shaderc.changes
2020-08-17 16:41:45.877823963 +0200
@@ -1,0 +2,19 @@
+Mon Aug 17 01:07:43 UTC 2020 - malcolmle...@opensuse.org
+
+- Updated to release 2020.2:
+  * Support both posix and non-posix MinGW toolchains.
+  * Support optionally building Tint tooling for WGSL.
+  * Add -h option to glslc, spvc; same as --help.
+  * Update to Glslang generator 9.
+  * Add interface to support 16-bit types in HLSL
+  * Add glslc hidden experimental option -mfmt=wgsl; requires Tint.
+  * Add minimum buffer size for Dawn reflection.
+- Changes from release 2020.1:
+  * Added warning signs about unsupported downloads.
+  * Removed Singleton pattern around access to glslang.
+  * Added concept of comparison sampler to API.
+  * Added support for options.hlsl.nonwritable_uav_texture_as_srv.
+  * Support forcing storage buffers to be always declared as UAV.
+- Rebase 0001-Use-system-third-party-libs.patch.
+
+---

Old:

  v2020.0.tar.gz

New:

  v2020.2.tar.gz



Other differences:
--
++ shaderc.spec ++
--- /var/tmp/diff_new_pack.ftzNNW/_old  2020-08-17 16:41:49.353825498 +0200
+++ /var/tmp/diff_new_pack.ftzNNW/_new  2020-08-17 16:41:49.357825499 +0200
@@ -18,7 +18,7 @@
 
 Name:   shaderc
 %define lname libshaderc_shared1
-Version:2020.0
+Version:2020.2
 Release:0
 Summary:A collection of tools, libraries and tests for shader 
compilation
 License:Apache-2.0
@@ -65,7 +65,7 @@
 
 %prep
 %autosetup -p1
-echo "\"%{version}\"" > glslc/src/build-version.inc
+echo "\"%version\"" >glslc/src/build-version.inc
 
 %build
 %cmake -DSHADERC_SKIP_TESTS=ON

++ 0001-Use-system-third-party-libs.patch ++
--- /var/tmp/diff_new_pack.ftzNNW/_old  2020-08-17 16:41:49.377825508 +0200
+++ /var/tmp/diff_new_pack.ftzNNW/_new  2020-08-17 16:41:49.377825508 +0200
@@ -1,18 +1,7 @@
-From: Martin Herkt 
-Date: Fri, 3 Nov 2017 11:58:14 +0100
-Subject: [PATCH 1/2] Use system third party libs
-

- CMakeLists.txt|7 ---
- glslc/CMakeLists.txt  |2 +-
- libshaderc/CMakeLists.txt |2 ++
- 3 files changed, 3 insertions(+), 8 deletions(-)
-
-Index: shaderc-2019.1/CMakeLists.txt
-===
 shaderc-2019.1.orig/CMakeLists.txt
-+++ shaderc-2019.1/CMakeLists.txt
-@@ -92,7 +92,6 @@ endif(MSVC)
+diff -Naur a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt   2020-07-23 16:43:08.0 -0500
 b/CMakeLists.txt   2020-08-16 20:18:41.235394189 -0500
+@@ -113,7 +113,6 @@
  
  # Configure subdirectories.
  # We depend on these for later projects, so they should come first.
@@ -20,7 +9,7 @@
  
  if(SHADERC_ENABLE_SPVC)
  add_subdirectory(libshaderc_spvc)
-@@ -103,12 +102,6 @@ add_subdirectory(libshaderc)
+@@ -124,11 +123,6 @@
  add_subdirectory(glslc)
  add_subdirectory(examples)
  
@@ -29,28 +18,13 @@
 -  ${CMAKE_CURRENT_SOURCE_DIR}/utils/update_build_version.py
 -  ${shaderc_SOURCE_DIR} ${spirv-tools_SOURCE_DIR} ${glslang_SOURCE_DIR} 
${CMAKE_CURRENT_BINARY_DIR}/build-version.inc
 -  COMMENT "Update build-version.inc in the Shaderc build directory (if 
necessary).")
--
+ 
  function(define_pkg_config_file NAME LIBS)
add_custom_target(${NAME}-pkg-config ALL
- COMMAND ${CMAKE_COMMAND}
-Index: shaderc-2019.1/glslc/CMakeLists.txt
-===
 shaderc-2019.1.orig/glslc/CMakeLists.txt
-+++ shaderc-2019.1/glslc/CMakeLists.txt
-@@ -18,7 +18,7 @@ add_library(glslc STATIC
- shaderc_default_compile_options(glslc)
- target_include_directories(glslc PUBLIC ${glslang_SOURCE_DIR})
- target_link_libraries(glslc PRIVATE glslang OSDependent OGLCompiler
--  HLSL glslang SPIRV ${CMAKE_THREAD_LIBS_INIT})
-+  HLSL glslang SPIRV SPVRemapper ${CMAKE_THREAD_LIBS_INIT})
- target_link_libraries(glslc PRIVATE shaderc_util shaderc)
- 
- add_executable(glslc_exe src/main.cc)
-Index: shaderc-2019.1/libshaderc/CMakeLists.txt
-===
 shaderc-2019.1.orig/libshaderc/CMakeLists.txt
-+++ shaderc-2019.1/libshaderc/CMakeLists.txt
-@@ -46,6 +46,8 @@ set(SHADERC_LIBS
+diff -Naur a/libshaderc/CMakeLists.txt 

commit shaderc for openSUSE:Factory

2020-04-14 Thread root
Hello community,

here is the log from the commit of package shaderc for openSUSE:Factory checked 
in at 2020-04-14 15:09:18

Comparing /work/SRC/openSUSE:Factory/shaderc (Old)
 and  /work/SRC/openSUSE:Factory/.shaderc.new.2738 (New)


Package is "shaderc"

Tue Apr 14 15:09:18 2020 rev:5 rq:792442 version:2020.0

Changes:

--- /work/SRC/openSUSE:Factory/shaderc/shaderc.changes  2020-02-24 
15:57:28.564130211 +0100
+++ /work/SRC/openSUSE:Factory/.shaderc.new.2738/shaderc.changes
2020-04-14 15:17:16.992521263 +0200
@@ -1,0 +2,8 @@
+Wed Apr  8 11:59:02 UTC 2020 - Jan Engelhardt 
+
+- Update to release 2020.0
+  * Added support for new Glslang profile enum, EProfileCount.
+  * Add documentation for Vulkan 1.2 and SPIR-V 1.5.
+  * Added support for generating WebGPU SPIR-V to libshaderc.
+
+---

Old:

  v2019.1.tar.gz

New:

  v2020.0.tar.gz



Other differences:
--
++ shaderc.spec ++
--- /var/tmp/diff_new_pack.qAj4DJ/_old  2020-04-14 15:17:17.584521988 +0200
+++ /var/tmp/diff_new_pack.qAj4DJ/_new  2020-04-14 15:17:17.584521988 +0200
@@ -18,7 +18,7 @@
 
 Name:   shaderc
 %define lname libshaderc_shared1
-Version:2019.1
+Version:2020.0
 Release:0
 Summary:A collection of tools, libraries and tests for shader 
compilation
 License:Apache-2.0
@@ -30,10 +30,10 @@
 Patch1: 0001-Use-system-third-party-libs.patch
 BuildRequires:  c++_compiler
 BuildRequires:  cmake
-BuildRequires:  glslang-devel >= 7
+BuildRequires:  glslang-devel >= 8.13.3727+git4
 BuildRequires:  python-xml
-BuildRequires:  spirv-headers >= 1.4
-BuildRequires:  spirv-tools-devel > 2019.3
+BuildRequires:  spirv-headers >= 1.5.1.corrected+git24
+BuildRequires:  spirv-tools-devel >= 2020.2
 
 %description
 A collection of tools, libraries and tests for shader compilation.

++ v2019.1.tar.gz -> v2020.0.tar.gz ++
 3835 lines of diff (skipped)




commit shaderc for openSUSE:Factory

2020-02-24 Thread root
Hello community,

here is the log from the commit of package shaderc for openSUSE:Factory checked 
in at 2020-02-24 15:55:16

Comparing /work/SRC/openSUSE:Factory/shaderc (Old)
 and  /work/SRC/openSUSE:Factory/.shaderc.new.26092 (New)


Package is "shaderc"

Mon Feb 24 15:55:16 2020 rev:4 rq:778749 version:2019.1

Changes:

--- /work/SRC/openSUSE:Factory/shaderc/shaderc.changes  2019-11-19 
12:59:51.946113607 +0100
+++ /work/SRC/openSUSE:Factory/.shaderc.new.26092/shaderc.changes   
2020-02-24 15:57:28.564130211 +0100
@@ -1,0 +2,8 @@
+Mon Feb 17 12:45:35 UTC 2020 - Jan Engelhardt 
+
+- Update to release 2019.1
+  * Vulkan 1.2 support
+  * Add spvc parser support for a number of ops
+- Drop 0001-Force-Glslang-to-support-HLSL-in-its-interface-784.patch
+
+---

Old:

  0001-Force-Glslang-to-support-HLSL-in-its-interface-784.patch
  _service
  shaderc-2019.0.tar.xz

New:

  v2019.1.tar.gz



Other differences:
--
++ shaderc.spec ++
--- /var/tmp/diff_new_pack.I7TYxN/_old  2020-02-24 15:57:29.452132048 +0100
+++ /var/tmp/diff_new_pack.I7TYxN/_new  2020-02-24 15:57:29.456132056 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package shaderc
 #
-# Copyright (c) 2019 SUSE LLC.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,15 +18,16 @@
 
 Name:   shaderc
 %define lname libshaderc_shared1
-Version:2019.0
+Version:2019.1
 Release:0
 Summary:A collection of tools, libraries and tests for shader 
compilation
 License:Apache-2.0
 Group:  Development/Tools/Other
 URL:https://github.com/google/shaderc
-Source: %name-%version.tar.xz
+
+#Git-Clone:https://github.com/google/shaderc
+Source: https://github.com/google/shaderc/archive/v%version.tar.gz
 Patch1: 0001-Use-system-third-party-libs.patch
-Patch2: 0001-Force-Glslang-to-support-HLSL-in-its-interface-784.patch
 BuildRequires:  c++_compiler
 BuildRequires:  cmake
 BuildRequires:  glslang-devel >= 7

++ 0001-Use-system-third-party-libs.patch ++
--- /var/tmp/diff_new_pack.I7TYxN/_old  2020-02-24 15:57:29.464132073 +0100
+++ /var/tmp/diff_new_pack.I7TYxN/_new  2020-02-24 15:57:29.468132081 +0100
@@ -3,16 +3,16 @@
 Subject: [PATCH 1/2] Use system third party libs
 
 ---
- CMakeLists.txt|6 --
+ CMakeLists.txt|7 ---
  glslc/CMakeLists.txt  |2 +-
  libshaderc/CMakeLists.txt |2 ++
- 3 files changed, 3 insertions(+), 7 deletions(-)
+ 3 files changed, 3 insertions(+), 8 deletions(-)
 
-Index: shaderc-2019.0/CMakeLists.txt
+Index: shaderc-2019.1/CMakeLists.txt
 ===
 shaderc-2019.0.orig/CMakeLists.txt
-+++ shaderc-2019.0/CMakeLists.txt
-@@ -70,7 +70,6 @@ endif(MSVC)
+--- shaderc-2019.1.orig/CMakeLists.txt
 shaderc-2019.1/CMakeLists.txt
+@@ -92,7 +92,6 @@ endif(MSVC)
  
  # Configure subdirectories.
  # We depend on these for later projects, so they should come first.
@@ -20,22 +20,23 @@
  
  if(SHADERC_ENABLE_SPVC)
  add_subdirectory(libshaderc_spvc)
-@@ -81,11 +80,6 @@ add_subdirectory(libshaderc)
+@@ -103,12 +102,6 @@ add_subdirectory(libshaderc)
  add_subdirectory(glslc)
  add_subdirectory(examples)
  
 -add_custom_target(build-version
 -  ${PYTHON_EXECUTABLE}
 -  ${CMAKE_CURRENT_SOURCE_DIR}/utils/update_build_version.py
--  ${shaderc_SOURCE_DIR} ${spirv-tools_SOURCE_DIR} ${glslang_SOURCE_DIR}
+-  ${shaderc_SOURCE_DIR} ${spirv-tools_SOURCE_DIR} ${glslang_SOURCE_DIR} 
${CMAKE_CURRENT_BINARY_DIR}/build-version.inc
 -  COMMENT "Update build-version.inc in the Shaderc build directory (if 
necessary).")
- 
+-
  function(define_pkg_config_file NAME LIBS)
add_custom_target(${NAME}-pkg-config ALL
-Index: shaderc-2019.0/glslc/CMakeLists.txt
+ COMMAND ${CMAKE_COMMAND}
+Index: shaderc-2019.1/glslc/CMakeLists.txt
 ===
 shaderc-2019.0.orig/glslc/CMakeLists.txt
-+++ shaderc-2019.0/glslc/CMakeLists.txt
+--- shaderc-2019.1.orig/glslc/CMakeLists.txt
 shaderc-2019.1/glslc/CMakeLists.txt
 @@ -18,7 +18,7 @@ add_library(glslc STATIC
  shaderc_default_compile_options(glslc)
  target_include_directories(glslc PUBLIC ${glslang_SOURCE_DIR})
@@ -45,10 +46,10 @@
  target_link_libraries(glslc PRIVATE shaderc_util shaderc)
  
  add_executable(glslc_exe src/main.cc)
-Index: shaderc-2019.0/libshaderc/CMakeLists.txt
+Index: shaderc-2019.1/libshaderc/CMakeLists.txt
 ===
 

commit shaderc for openSUSE:Factory

2019-11-19 Thread root
Hello community,

here is the log from the commit of package shaderc for openSUSE:Factory checked 
in at 2019-11-19 12:59:47

Comparing /work/SRC/openSUSE:Factory/shaderc (Old)
 and  /work/SRC/openSUSE:Factory/.shaderc.new.26869 (New)


Package is "shaderc"

Tue Nov 19 12:59:47 2019 rev:3 rq:749468 version:2019.0

Changes:

--- /work/SRC/openSUSE:Factory/shaderc/shaderc.changes  2019-06-19 
21:04:53.662319350 +0200
+++ /work/SRC/openSUSE:Factory/.shaderc.new.26869/shaderc.changes   
2019-11-19 12:59:51.946113607 +0100
@@ -1,0 +2,5 @@
+Tue Nov 19 09:02:32 UTC 2019 - Jan Engelhardt 
+
+- Add 0001-Force-Glslang-to-support-HLSL-in-its-interface-784.patch
+
+---

New:

  0001-Force-Glslang-to-support-HLSL-in-its-interface-784.patch



Other differences:
--
++ shaderc.spec ++
--- /var/tmp/diff_new_pack.Ov9i2M/_old  2019-11-19 12:59:52.370113340 +0100
+++ /var/tmp/diff_new_pack.Ov9i2M/_new  2019-11-19 12:59:52.370113340 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package shaderc
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,9 +23,10 @@
 Summary:A collection of tools, libraries and tests for shader 
compilation
 License:Apache-2.0
 Group:  Development/Tools/Other
-Url:https://github.com/google/shaderc
+URL:https://github.com/google/shaderc
 Source: %name-%version.tar.xz
 Patch1: 0001-Use-system-third-party-libs.patch
+Patch2: 0001-Force-Glslang-to-support-HLSL-in-its-interface-784.patch
 BuildRequires:  c++_compiler
 BuildRequires:  cmake
 BuildRequires:  glslang-devel >= 7

++ 0001-Force-Glslang-to-support-HLSL-in-its-interface-784.patch ++
>From ec4ea59c6d523ee563611651e6a15b1c31ffcd2e Mon Sep 17 00:00:00 2001
From: David Neto 
Date: Wed, 21 Aug 2019 21:33:34 -0400
Subject: [PATCH] Force Glslang to support HLSL in its interface (#784)

Fixes a compilation problem introduced by recent
Glslang changes to optionally build into a very small
GLSL-only binary.

Also fix test cases to have set and binding layout qualifiers on
buffers when compiling for Vulkan.  This rule is now enforced by
Glslang.
---
 README.md|8 
 glslc/test/option_dash_fhlsl_offsets.py  |1 +
 libshaderc/src/common_shaders_for_test.h |1 +
 libshaderc_util/CMakeLists.txt   |3 +++
 libshaderc_util/src/compiler_test.cc |1 +
 5 files changed, 14 insertions(+)

Index: shaderc-2019.0/README.md
===
--- shaderc-2019.0.orig/README.md
+++ shaderc-2019.0/README.md
@@ -73,6 +73,14 @@ Shaderc into.
 artifacts built by [Appveyor][appveyor] for the top of the tree of the master
 branch under the "Artifacts" tab of a certain job.
 
+Note: Shaderc assumes Glslang supports HLSL compilation.  The instructions
+below assume you're building Glslang from sources, and in a subtree
+of `shaderc/third_party`.  In that scenario, Glslang's HLSL support
+is automatically enabled.  Shaderc also can be built using a Glslang
+from outside the `shaderc/third_party` tree.  In that case you must
+ensure that that external Glslang is built with HLSL functionality.
+See Glslang's `ENABLE_HLSL` CMake setting.)
+
 1) Check out the source code:
 
 ```sh
Index: shaderc-2019.0/glslc/test/option_dash_fhlsl_offsets.py
===
--- shaderc-2019.0.orig/glslc/test/option_dash_fhlsl_offsets.py
+++ shaderc-2019.0/glslc/test/option_dash_fhlsl_offsets.py
@@ -19,6 +19,7 @@ from placeholder import FileShader
 
 # A GLSL shader with uniforms without explicit bindings.
 GLSL_SHADER = """#version 450
+  layout(set=0, binding=0)
   buffer B { float x; vec3 y; } my_ssbo;
   void main() {
 my_ssbo.x = 1.0;
Index: shaderc-2019.0/libshaderc/src/common_shaders_for_test.h
===
--- shaderc-2019.0.orig/libshaderc/src/common_shaders_for_test.h
+++ shaderc-2019.0/libshaderc/src/common_shaders_for_test.h
@@ -293,6 +293,7 @@ const char kShaderWithUniformsWithoutBin
 // A GLSL vertex shader with a weirdly packed block.
 const char kGlslShaderWeirdPacking[] =
 R"(#version 450
+   layout(set=0, binding=0)
buffer B { float x; vec3 foo; } my_ssbo;
void main() { my_ssbo.x = 1.0; })";
 
Index: shaderc-2019.0/libshaderc_util/CMakeLists.txt
===
--- 

commit shaderc for openSUSE:Factory

2019-06-19 Thread root
Hello community,

here is the log from the commit of package shaderc for openSUSE:Factory checked 
in at 2019-06-19 21:04:21

Comparing /work/SRC/openSUSE:Factory/shaderc (Old)
 and  /work/SRC/openSUSE:Factory/.shaderc.new.4811 (New)


Package is "shaderc"

Wed Jun 19 21:04:21 2019 rev:2 rq:707925 version:2019.0

Changes:

--- /work/SRC/openSUSE:Factory/shaderc/shaderc.changes  2018-12-21 
08:21:31.481564072 +0100
+++ /work/SRC/openSUSE:Factory/.shaderc.new.4811/shaderc.changes
2019-06-19 21:04:53.662319350 +0200
@@ -1,0 +2,12 @@
+Wed Jun  5 11:59:17 UTC 2019 - Jan Engelhardt 
+
+- Update to new upstream release 2019.0
+  * Add optional spvc, libshaderc_spvc as wrapper around
+SPIRV-Cross.
+  * Support NV extensions for shader stages.
+  * spvc: Added option to specify source environment. Spvc will
+transform from source to target environment if they are
+different. This only works for WebGPU0 and Vulkan 1.1.
+
+
+---

Old:

  shaderc-2018.0.tar.xz

New:

  shaderc-2019.0.tar.xz



Other differences:
--
++ shaderc.spec ++
--- /var/tmp/diff_new_pack.slI1CA/_old  2019-06-19 21:04:55.218320759 +0200
+++ /var/tmp/diff_new_pack.slI1CA/_new  2019-06-19 21:04:55.222320763 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package shaderc
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 Name:   shaderc
 %define lname libshaderc_shared1
-Version:2018.0
+Version:2019.0
 Release:0
 Summary:A collection of tools, libraries and tests for shader 
compilation
 License:Apache-2.0
@@ -28,10 +28,10 @@
 Patch1: 0001-Use-system-third-party-libs.patch
 BuildRequires:  c++_compiler
 BuildRequires:  cmake
+BuildRequires:  glslang-devel >= 7
 BuildRequires:  python-xml
-BuildRequires:  spirv-tools-devel >= 2017.0.g103
-BuildRequires:  spirv-headers >= 1.2
-BuildRequires:  glslang-devel >= 3.0.g1685
+BuildRequires:  spirv-headers >= 1.4
+BuildRequires:  spirv-tools-devel > 2019.3
 
 %description
 A collection of tools, libraries and tests for shader compilation.
@@ -63,7 +63,7 @@
 
 %prep
 %autosetup -p1
-echo '"${version}"' >glslc/src/build-version.inc
+echo "\"%{version}\"" > glslc/src/build-version.inc
 
 %build
 %cmake -DSHADERC_SKIP_TESTS=ON
@@ -77,7 +77,7 @@
 %postun -n %lname -p /sbin/ldconfig
 
 %files
-%doc LICENSE
+%license LICENSE
 %_bindir/glslc
 
 %files -n %lname
@@ -86,5 +86,6 @@
 %files devel
 %_includedir/shaderc/
 %_libdir/libshaderc_shared.so
+%_libdir/pkgconfig/*.pc
 
 %changelog

++ 0001-Use-system-third-party-libs.patch ++
--- /var/tmp/diff_new_pack.slI1CA/_old  2019-06-19 21:04:55.246320785 +0200
+++ /var/tmp/diff_new_pack.slI1CA/_new  2019-06-19 21:04:55.246320785 +0200
@@ -3,35 +3,39 @@
 Subject: [PATCH 1/2] Use system third party libs
 
 ---
- CMakeLists.txt|8 
+ CMakeLists.txt|6 --
  glslc/CMakeLists.txt  |2 +-
  libshaderc/CMakeLists.txt |2 ++
- 3 files changed, 3 insertions(+), 9 deletions(-)
+ 3 files changed, 3 insertions(+), 7 deletions(-)
 
-Index: shaderc-2018.0/CMakeLists.txt
+Index: shaderc-2019.0/CMakeLists.txt
 ===
 shaderc-2018.0.orig/CMakeLists.txt
-+++ shaderc-2018.0/CMakeLists.txt
-@@ -61,15 +61,7 @@ endif(MSVC)
+--- shaderc-2019.0.orig/CMakeLists.txt
 shaderc-2019.0/CMakeLists.txt
+@@ -70,7 +70,6 @@ endif(MSVC)
  
  # Configure subdirectories.
  # We depend on these for later projects, so they should come first.
 -add_subdirectory(third_party)
--
- add_subdirectory(libshaderc_util)
- add_subdirectory(libshaderc)
+ 
+ if(SHADERC_ENABLE_SPVC)
+ add_subdirectory(libshaderc_spvc)
+@@ -81,11 +80,6 @@ add_subdirectory(libshaderc)
  add_subdirectory(glslc)
  add_subdirectory(examples)
--
+ 
 -add_custom_target(build-version
--  ${PYTHON_EXE}
+-  ${PYTHON_EXECUTABLE}
 -  ${CMAKE_CURRENT_SOURCE_DIR}/utils/update_build_version.py
 -  ${shaderc_SOURCE_DIR} ${spirv-tools_SOURCE_DIR} ${glslang_SOURCE_DIR}
 -  COMMENT "Update build-version.inc in the Shaderc build directory (if 
necessary).")
-Index: shaderc-2018.0/glslc/CMakeLists.txt
+ 
+ function(define_pkg_config_file NAME LIBS)
+   add_custom_target(${NAME}-pkg-config ALL
+Index: shaderc-2019.0/glslc/CMakeLists.txt
 ===
 shaderc-2018.0.orig/glslc/CMakeLists.txt
-+++ shaderc-2018.0/glslc/CMakeLists.txt
+---