Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package qt6-shadertools for openSUSE:Factory
checked in at 2026-08-21 16:51:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qt6-shadertools (Old)
and /work/SRC/openSUSE:Factory/.qt6-shadertools.new.1258 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qt6-shadertools"
Fri Aug 21 16:51:21 2026 rev:46 rq:1372262 version:6.11.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/qt6-shadertools/qt6-shadertools.changes
2026-05-28 17:26:11.761873320 +0200
+++
/work/SRC/openSUSE:Factory/.qt6-shadertools.new.1258/qt6-shadertools.changes
2026-08-21 16:52:18.753818734 +0200
@@ -1,0 +2,6 @@
+Tue Aug 18 11:49:21 UTC 2026 - Christophe Marin <[email protected]>
+
+- Update to 6.11.2
+ https://www.qt.io/blog/qt-6.11.2-released
+
+-------------------------------------------------------------------
Old:
----
qtshadertools-everywhere-src-6.11.1.tar.xz
New:
----
qtshadertools-everywhere-src-6.11.2.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ qt6-shadertools.spec ++++++
--- /var/tmp/diff_new_pack.wLWB1Z/_old 2026-08-21 16:52:19.519845972 +0200
+++ /var/tmp/diff_new_pack.wLWB1Z/_new 2026-08-21 16:52:19.521846043 +0200
@@ -16,7 +16,7 @@
#
-%define real_version 6.11.1
+%define real_version 6.11.2
%define short_version 6.11
%define tar_name qtshadertools-everywhere-src
%define tar_suffix %{nil}
@@ -27,7 +27,7 @@
%endif
#
Name: qt6-shadertools%{?pkg_suffix}
-Version: 6.11.1
+Version: 6.11.2
Release: 0
Summary: Qt 6 ShaderTools library
License: GPL-3.0-only
++++++ qtshadertools-everywhere-src-6.11.1.tar.xz ->
qtshadertools-everywhere-src-6.11.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/qtshadertools-everywhere-src-6.11.1/.cmake.conf
new/qtshadertools-everywhere-src-6.11.2/.cmake.conf
--- old/qtshadertools-everywhere-src-6.11.1/.cmake.conf 2026-05-07
21:59:30.000000000 +0200
+++ new/qtshadertools-everywhere-src-6.11.2/.cmake.conf 2026-08-11
19:38:14.000000000 +0200
@@ -1,4 +1,4 @@
-set(QT_REPO_MODULE_VERSION "6.11.1")
+set(QT_REPO_MODULE_VERSION "6.11.2")
set(QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT "alpha1")
list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/qtshadertools-everywhere-src-6.11.1/.tag
new/qtshadertools-everywhere-src-6.11.2/.tag
--- old/qtshadertools-everywhere-src-6.11.1/.tag 2026-05-07
21:59:30.000000000 +0200
+++ new/qtshadertools-everywhere-src-6.11.2/.tag 2026-08-11
19:38:14.000000000 +0200
@@ -1 +1 @@
-b3b8537b3c5ab01919e30b87d48d2f1ba1f2a3fe
+c70b59ea4a47ccbee7e0d0353b9e91d719120bfd
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/qtshadertools-everywhere-src-6.11.1/dependencies.yaml
new/qtshadertools-everywhere-src-6.11.2/dependencies.yaml
--- old/qtshadertools-everywhere-src-6.11.1/dependencies.yaml 2026-05-07
21:59:30.000000000 +0200
+++ new/qtshadertools-everywhere-src-6.11.2/dependencies.yaml 2026-08-11
19:38:14.000000000 +0200
@@ -1,4 +1,4 @@
dependencies:
../qtbase:
- ref: 59c81a3c2247b821b9b84b4eb8d939b77e07e276
+ ref: ef55f427f2c8b410d34f8a7681020a3000cf6866
required: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/qtshadertools-everywhere-src-6.11.1/src/shadertools/qshaderbaker.cpp
new/qtshadertools-everywhere-src-6.11.2/src/shadertools/qshaderbaker.cpp
--- old/qtshadertools-everywhere-src-6.11.1/src/shadertools/qshaderbaker.cpp
2026-05-07 21:59:30.000000000 +0200
+++ new/qtshadertools-everywhere-src-6.11.2/src/shadertools/qshaderbaker.cpp
2026-08-11 19:38:14.000000000 +0200
@@ -655,7 +655,7 @@
} else {
// per-target compilation. the value here comes from the varying
// preamble (and so preprocessor defines)
- for (GeneratedShader req: d->reqVersions) {
+ for (GeneratedShader req: std::as_const(d->reqVersions)) {
d->compiler.setPreamble(preamble + d->perTargetDefines(req));
if (!compileSpirvAndBatchable(req))
return QShader();
@@ -684,8 +684,8 @@
bs.setDescription(batchableSpirvShader.shaderDescription());
}
- for (const GeneratedShader &req: d->reqVersions) {
- for (const QShader::Variant &v : d->variants) {
+ for (const GeneratedShader &req: std::as_const(d->reqVersions)) {
+ for (const QShader::Variant &v : std::as_const(d->variants)) {
if (d->stage != QShader::VertexStage) {
if (v == QShader::BatchableVertexShader
|| v == QShader::UInt32IndexedVertexAsComputeShader
@@ -765,7 +765,7 @@
QVector<QShaderDescription::InOutVariable> separateImages
= desc.separateImages();
QVector<QShaderDescription::InOutVariable>
separateSamplers = desc.separateSamplers();
QShader::SeparateToCombinedImageSamplerMappingList result;
- for (const
QSpirvShader::SeparateToCombinedImageSamplerMapping &mapping :
separateToCombinedImageSamplerMappings) {
+ for (const
QSpirvShader::SeparateToCombinedImageSamplerMapping &mapping :
std::as_const(separateToCombinedImageSamplerMappings)) {
int textureBinding = -1;
int samplerBinding = -1;
for (int i = 0, count = separateImages.size(); i <
count; ++i) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/qtshadertools-everywhere-src-6.11.1/src/shadertools/qspirvshader.cpp
new/qtshadertools-everywhere-src-6.11.2/src/shadertools/qspirvshader.cpp
--- old/qtshadertools-everywhere-src-6.11.1/src/shadertools/qspirvshader.cpp
2026-05-07 21:59:30.000000000 +0200
+++ new/qtshadertools-everywhere-src-6.11.2/src/shadertools/qspirvshader.cpp
2026-08-11 19:38:14.000000000 +0200
@@ -777,8 +777,9 @@
// between (SPIR-V) bindings and D3D sampler slots.
const SpvExecutionModel stage =
spvc_compiler_get_execution_model(d->hlslGen);
int regBinding = 0; // SRVs and samplers
- for (const QShaderDescription::InOutVariable &var :
d->shaderDescription.combinedImageSamplers()) {
- spvc_hlsl_resource_binding bindingMapping;
+ const auto combinedImageSamplers =
d->shaderDescription.combinedImageSamplers();
+ for (const QShaderDescription::InOutVariable &var : combinedImageSamplers)
{
+ spvc_hlsl_resource_binding bindingMapping = {};
bindingMapping.stage = stage; // will be per-stage but we have a
per-shader NativeResourceBindingMap so it's ok
bindingMapping.desc_set = var.descriptorSet;
bindingMapping.binding = var.binding;
@@ -795,8 +796,9 @@
// t2, ... and s0, s1, s2, ... for all the images and samplers incl. both
// combined and separate.
int firstSeparateImageReg = regBinding;
- for (const QShaderDescription::InOutVariable &var :
d->shaderDescription.separateImages()) {
- spvc_hlsl_resource_binding bindingMapping;
+ const auto separateImages = d->shaderDescription.separateImages();
+ for (const QShaderDescription::InOutVariable &var : separateImages) {
+ spvc_hlsl_resource_binding bindingMapping = {};
bindingMapping.stage = stage;
bindingMapping.desc_set = var.descriptorSet;
bindingMapping.binding = var.binding;
@@ -807,8 +809,9 @@
regBinding += var.arrayDims.isEmpty() ? 1 : var.arrayDims.first();
}
regBinding = firstSeparateImageReg;
- for (const QShaderDescription::InOutVariable &var :
d->shaderDescription.separateSamplers()) {
- spvc_hlsl_resource_binding bindingMapping;
+ const auto separateSamplers = d->shaderDescription.separateSamplers();
+ for (const QShaderDescription::InOutVariable &var : separateSamplers) {
+ spvc_hlsl_resource_binding bindingMapping = {};
bindingMapping.stage = stage;
bindingMapping.desc_set = var.descriptorSet;
bindingMapping.binding = var.binding;
@@ -820,8 +823,9 @@
}
regBinding = 0; // CBVs
- for (const QShaderDescription::UniformBlock &blk :
d->shaderDescription.uniformBlocks()) {
- spvc_hlsl_resource_binding bindingMapping;
+ const auto uniformBlocks = d->shaderDescription.uniformBlocks();
+ for (const QShaderDescription::UniformBlock &blk : uniformBlocks) {
+ spvc_hlsl_resource_binding bindingMapping = {};
bindingMapping.stage = stage;
bindingMapping.desc_set = blk.descriptorSet;
bindingMapping.binding = blk.binding;
@@ -835,9 +839,10 @@
// UAV registers live in the same name space as outputs, so they must be
bound
// to at least outputVariables.size().
regBinding = d->shaderDescription.outputVariables().size();
- for (const QShaderDescription::StorageBlock &blk :
d->shaderDescription.storageBlocks()) {
+ const auto storageBlocks = d->shaderDescription.storageBlocks();
+ for (const QShaderDescription::StorageBlock &blk : storageBlocks) {
// readonly is also mapped to UAV due to FORCE_STORAGE_BUFFER_AS_UAV.
(would be an SRV by default)
- spvc_hlsl_resource_binding bindingMapping;
+ spvc_hlsl_resource_binding bindingMapping = {};
bindingMapping.stage = stage;
bindingMapping.desc_set = blk.descriptorSet;
bindingMapping.binding = blk.binding;
@@ -847,8 +852,9 @@
nativeBindings->insert(blk.binding, { regBinding, -1 });
regBinding += 1;
}
- for (const QShaderDescription::InOutVariable &var :
d->shaderDescription.storageImages()) {
- spvc_hlsl_resource_binding bindingMapping;
+ const auto storageImages = d->shaderDescription.storageImages();
+ for (const QShaderDescription::InOutVariable &var : storageImages) {
+ spvc_hlsl_resource_binding bindingMapping = {};
bindingMapping.stage = stage;
bindingMapping.desc_set = var.descriptorSet;
bindingMapping.binding = var.binding;