Accepting request 515076 from X11:Wayland
- Update to new snapshot 3.0.g1516 OBS-URL: https://build.opensuse.org/request/show/515076 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glslang?expand=0&rev=7
This commit is contained in:
commit
fcb8ad0a76
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:71d9e0616315e920a0f991cd2d819c808c071e69bc1fc4b6036284ef99a9b3d4
|
|
||||||
size 981552
|
|
3
glslang-3.0.g1516.tar.xz
Normal file
3
glslang-3.0.g1516.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2f7ef4ba0a5244f40ada31c27056cc798e3ee6cc8dc7e93f5ad3346990e33fc1
|
||||||
|
size 1114000
|
@ -1,3 +1,33 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 7 18:14:24 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new snapshot 3.0.g1516
|
||||||
|
* SPV: Handle nested opaque types as function parameters.
|
||||||
|
* SPV: Implement new extensions GL_KHX_device_group and
|
||||||
|
GL_KHX_multiview.
|
||||||
|
* HLSL: Fix #747: accept 'struct' in front of previously
|
||||||
|
user-defined type name.
|
||||||
|
* Rename KHX to EXT to match the released specs.
|
||||||
|
* PP: Recognize the '::' token, and translate appropriately to
|
||||||
|
GLSL/HLSL token.
|
||||||
|
* Added 'GL_core_profile' and 'GL_compatibility_profile' macro
|
||||||
|
definition to preamble.
|
||||||
|
* HLSL: Add scoping operator, accept static member functions,
|
||||||
|
and support calling them.
|
||||||
|
* HLSL: require tessellation factors to be fixed size arrays
|
||||||
|
* HLSL: Add namespace grammar and some basic semantics.
|
||||||
|
* Implement the SPV_KHR_16bit_storage,
|
||||||
|
GL_AMD_texture_gather_bias_lod, GL_AMD_gpu_shader_int16,
|
||||||
|
GL_EXT_shadow_samplers, GL_ARB_shader_stencil_export,
|
||||||
|
GL_OVR_multiview, GL_OVR_multiview2
|
||||||
|
SPV_KHR_post_depth_coverage extensions.
|
||||||
|
* Fix NULL pointer dereference in TParseContext::builtInOpCheck.
|
||||||
|
* GLSL 4.6: Implement atomic counter ops and
|
||||||
|
SPV_KHR_shader_atomic_counter_ops.
|
||||||
|
* GLSL 4.6: Implement draw parameters.
|
||||||
|
* GLSL 4.6: Implement shader group vote.
|
||||||
|
- Add nodate.diff
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 20 15:12:17 UTC 2017 - jengelh@inai.de
|
Mon Feb 20 15:12:17 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
11
glslang.spec
11
glslang.spec
@ -16,10 +16,10 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define version_unconverted 3.0.g1115
|
%define version_unconverted 3.0.g1516
|
||||||
|
|
||||||
Name: glslang
|
Name: glslang
|
||||||
Version: 3.0.g1115
|
Version: 3.0.g1516
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: OpenGL and OpenGL ES shader front end and validator
|
Summary: OpenGL and OpenGL ES shader front end and validator
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@ -27,6 +27,7 @@ Group: Development/Libraries/C and C++
|
|||||||
Url: https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/
|
Url: https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/
|
||||||
|
|
||||||
Source: %name-%version.tar.xz
|
Source: %name-%version.tar.xz
|
||||||
|
Patch1: nodate.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: cmake >= 2.8
|
BuildRequires: cmake >= 2.8
|
||||||
@ -56,6 +57,7 @@ compressor's dictionary can find better cross module commonality.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch -P 1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake
|
%cmake
|
||||||
@ -64,11 +66,6 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
b="%buildroot"
|
b="%buildroot"
|
||||||
%cmake_install
|
%cmake_install
|
||||||
# So much fail in this source package..
|
|
||||||
if test "%_lib" != lib; then
|
|
||||||
mkdir -p "$b/%_libdir"
|
|
||||||
mv "$b/%_prefix/lib"/*.a "$b/%_libdir/"
|
|
||||||
fi
|
|
||||||
mkdir -p "$b/%_includedir"
|
mkdir -p "$b/%_includedir"
|
||||||
cp -a SPIRV glslang "$b/%_includedir/"
|
cp -a SPIRV glslang "$b/%_includedir/"
|
||||||
find "$b/%_includedir/" -type f ! -iname "*.h" -a ! -iname "*.hpp" -print -delete
|
find "$b/%_includedir/" -type f ! -iname "*.h" -a ! -iname "*.hpp" -print -delete
|
||||||
|
20
nodate.diff
Normal file
20
nodate.diff
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
From: Jan Engelhardt <jengelh@inai.de>
|
||||||
|
Date: 2017-08-07 20:22:29.456870387 +0200
|
||||||
|
|
||||||
|
---
|
||||||
|
StandAlone/spirv-remap.cpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
Index: glslang/StandAlone/spirv-remap.cpp
|
||||||
|
===================================================================
|
||||||
|
--- glslang.orig/StandAlone/spirv-remap.cpp
|
||||||
|
+++ glslang/StandAlone/spirv-remap.cpp
|
||||||
|
@@ -227,7 +227,7 @@ namespace {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (arg == "--version" || arg == "-V") {
|
||||||
|
- std::cout << basename(argv[0]) << " version 0.97 " << __DATE__ << " " << __TIME__ << std::endl;
|
||||||
|
+ std::cout << basename(argv[0]) << " version 0.97 " << std::endl;
|
||||||
|
exit(0);
|
||||||
|
} else if (arg == "--input" || arg == "-i") {
|
||||||
|
// Collect input files
|
Loading…
Reference in New Issue
Block a user