public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/qt6-qtshadertools] epel9: Fix build with system glslang
@ 2026-10-08 17:22 Jan Grulich
  0 siblings, 0 replies; only message in thread
From: Jan Grulich @ 2026-10-08 17:22 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/qt6-qtshadertools
Branch : epel9
Commit : 427c2c4e4f657142b7d11af956b8f968f8125e6a
Author : Jan Grulich <jgrulich@redhat.com>
Date   : 2025-11-20T11:15:55+01:00
Stats  : +10/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/qt6-qtshadertools/c/427c2c4e4f657142b7d11af956b8f968f8125e6a?branch=epel9

Log:
Fix build with system glslang

---
diff --git a/qtshadertools-unbundle-glslang.patch b/qtshadertools-unbundle-glslang.patch
index 38358a7..7b9c2eb 100644
--- a/qtshadertools-unbundle-glslang.patch
+++ b/qtshadertools-unbundle-glslang.patch
@@ -55,7 +55,7 @@ index 04371a5..4aa3838 100644
      PUBLIC_LIBRARIES
          Qt::Core
 diff --git a/src/shadertools/qspirvcompiler.cpp b/src/shadertools/qspirvcompiler.cpp
-index 4e97d48..b6fefb8 100644
+index 574daca..b6fefb8 100644
 --- a/src/shadertools/qspirvcompiler.cpp
 +++ b/src/shadertools/qspirvcompiler.cpp
 @@ -10,7 +10,7 @@ QT_WARNING_PUSH
@@ -76,6 +76,15 @@ index 4e97d48..b6fefb8 100644
  class Includer : public glslang::TShader::Includer
  {
  public:
+@@ -145,7 +143,7 @@ bool QSpirvCompilerPrivate::compile()
+         messages |= EShMsgDebugInfo;
+ 
+     Includer includer;
+-    if (!shader.parse(QtShaderTools::GetDefaultResources(), 100, false, EShMessages(messages), includer)) {
++    if (!shader.parse(GetDefaultResources(), 100, false, EShMessages(messages), includer)) {
+         qWarning("QSpirvCompiler: Failed to parse shader");
+         log = QString::fromUtf8(shader.getInfoLog()).trimmed();
+         return false;
 diff --git a/src/shadertools/qspirvshaderremap.cpp b/src/shadertools/qspirvshaderremap.cpp
 index e45161d..d8d4bfe 100644
 --- a/src/shadertools/qspirvshaderremap.cpp

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-08 17:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-08 17:22 [rpms/qt6-qtshadertools] epel9: Fix build with system glslang Jan Grulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox