fix abi issue with spirv-tools
This commit is contained in:
parent
fd651498ff
commit
be38b5f264
12
fix-api.patch
Normal file
12
fix-api.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up Vulkan-ValidationLayers-sdk-1.2.198.0/layers/gpu_validation.cpp.dma Vulkan-ValidationLayers-sdk-1.2.198.0/layers/gpu_validation.cpp
|
||||
--- Vulkan-ValidationLayers-sdk-1.2.198.0/layers/gpu_validation.cpp.dma 2021-12-09 19:37:52.918639116 +1000
|
||||
+++ Vulkan-ValidationLayers-sdk-1.2.198.0/layers/gpu_validation.cpp 2021-12-09 19:38:15.449247456 +1000
|
||||
@@ -1300,7 +1300,7 @@ bool GpuAssisted::InstrumentShader(const
|
||||
optimizer.RegisterPass(CreateInstBindlessCheckPass(desc_set_bind_index, unique_shader_module_id, descriptor_indexing,
|
||||
descriptor_indexing, buffer_oob_enabled, buffer_oob_enabled));
|
||||
// Call CreateAggressiveDCEPass with preserve_interface == true
|
||||
- optimizer.RegisterPass(CreateAggressiveDCEPass(true));
|
||||
+ optimizer.RegisterPass(CreateAggressiveDCEPassPreserveInterface());
|
||||
if ((IsExtEnabled(device_extensions.vk_ext_buffer_device_address) ||
|
||||
IsExtEnabled(device_extensions.vk_khr_buffer_device_address)) &&
|
||||
shaderInt64 && enabled_features.core12.bufferDeviceAddress) {
|
@ -1,6 +1,6 @@
|
||||
Name: vulkan-validation-layers
|
||||
Version: 1.2.198.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Vulkan validation layers
|
||||
|
||||
License: ASL 2.0
|
||||
@ -9,6 +9,8 @@ Source0: %url/archive/sdk-%{version}.tar.gz#/Vulkan-ValidationLayers-sdk-
|
||||
Patch0: fix_shared.patch
|
||||
Patch1: add-missing-export.patch
|
||||
|
||||
Patch2: fix-api.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake3
|
||||
@ -73,6 +75,9 @@ developing applications that use %{name}.
|
||||
%{_includedir}/vulkan/
|
||||
|
||||
%changelog
|
||||
* Thu Dec 09 2021 Dave Airlie <airlied@redhat.com> - 1.2.198.0-2
|
||||
- fix ABI issue with spirv-tools
|
||||
|
||||
* Tue Nov 23 2021 Dave Airlie <airlied@redhat.com> - 1.2.198.0-1
|
||||
- Update to latest 1.2.198.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user