forked from pool/vulkan-validationlayers
Jan Engelhardt
f73f986f77
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=131
31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
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: {
|