Skip to content

qt-patches: Vulkan beginExternal in a compute pass, GL multisample min filter - #48

Merged
jcelerier merged 1 commit into
masterfrom
qt-patches/rhi-asserts-and-gl-msaa
Oct 18, 2026
Merged

jcelerier merged 1 commit into
masterfrom
qt-patches/rhi-asserts-and-gl-msaa

Conversation

@jcelerier

Copy link
Copy Markdown
Member

Two qtbase fixes found while fuzzing score 3.9 on a debug, assertion-enabled build of this SDK's Qt (ossia/score#2346).

  • 0013 rhi: vk: beginExternal() inside a compute pass hit Q_ASSERT(currentTarget) in maybeRenderTargetData(). A compute pass has no target, so the assertion moves into the render pass branch. Debug builds only; reproduces 3/3 on examples/3d/voxels.score.
  • 0014 rhi: gl: QGles2Texture::create() set GL_TEXTURE_MIN_FILTER on multisample textures, raising GL_INVALID_ENUM for every MSAA texture (every glTF scene through Qt Quick 3D). It is skipped when samples > 1.

Both apply with git apply --check on qtbase 3700a2e5 with the Gerrit picks from clone-qt.sh and patches 0001–0012 applied. README entries added.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JeL19ofVgPe9u9q7J1V9ex

…n filter

qtbase 0013: maybeRenderTargetData() asserted a current target before
checking for a render pass, so beginExternal() inside a compute pass
aborted debug builds.

qtbase 0014: QGles2Texture::create() set GL_TEXTURE_MIN_FILTER on
multisample textures, raising GL_INVALID_ENUM for every MSAA texture.

Both apply on the pinned qtbase after 0001-0012; see the README entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JeL19ofVgPe9u9q7J1V9ex
@jcelerier
jcelerier merged commit 1e7d93f into master Oct 18, 2026
14 checks passed
@jcelerier
jcelerier deleted the qt-patches/rhi-asserts-and-gl-msaa branch October 18, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant