From: Jan Engelhardt 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 #include @@ -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: {