forked from pool/vulkan-validationlayers
- Add glslang14.diff
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=131
This commit is contained in:
parent
e9740f3fc6
commit
f73f986f77
30
glslang14.diff
Normal file
30
glslang14.diff
Normal file
@ -0,0 +1,30 @@
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
Date: 2023-12-31 01:23:14.975791155 +0100
|
||||
|
||||
Unbreak compilation after system was updated to glslang 14.
|
||||
Patch created by looking at commit db7389064ffd286726009a630b14e2e6114159e2.
|
||||
|
||||
---
|
||||
layers/gpu_validation/gpu_error_message.cpp | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
Index: Vulkan-ValidationLayers-vulkan-sdk-1.3.268.0/layers/gpu_validation/gpu_error_message.cpp
|
||||
===================================================================
|
||||
--- Vulkan-ValidationLayers-vulkan-sdk-1.3.268.0.orig/layers/gpu_validation/gpu_error_message.cpp
|
||||
+++ Vulkan-ValidationLayers-vulkan-sdk-1.3.268.0/layers/gpu_validation/gpu_error_message.cpp
|
||||
@@ -18,6 +18,7 @@
|
||||
#include "gpu_validation/gpu_error_message.h"
|
||||
#include "spirv-tools/instrument.hpp"
|
||||
#include "state_tracker/shader_module.h"
|
||||
+#include "gpu_shaders/gpu_shaders_constants.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <regex>
|
||||
@@ -25,6 +26,7 @@
|
||||
// Generate the stage-specific part of the message.
|
||||
void UtilGenerateStageMessage(const uint32_t *debug_record, std::string &msg) {
|
||||
using namespace spvtools;
|
||||
+ using namespace gpuav_glsl;
|
||||
std::ostringstream strm;
|
||||
switch (debug_record[kInstCommonOutStageIdx]) {
|
||||
case spv::ExecutionModelVertex: {
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 31 00:23:33 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Add glslang14.diff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 15 10:52:15 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -25,6 +25,7 @@ Group: Development/Tools/Other
|
||||
URL: https://github.com/KhronosGroup/Vulkan-ValidationLayers
|
||||
Source: https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/refs/tags/vulkan-sdk-%version.tar.gz
|
||||
Patch2: xxhash.diff
|
||||
Patch3: glslang14.diff
|
||||
BuildRequires: cmake >= 3.7.12
|
||||
%if 0%{?suse_version} >= 1599
|
||||
BuildRequires: gcc-c++
|
||||
|
Loading…
Reference in New Issue
Block a user