Skip to content

Support debugging compute shaders directly from the texture viewer#3770

Closed
qwmnerbvqwmn wants to merge 1 commit intobaldurk:v1.xfrom
qwmnerbvqwmn:pr/texture-viewer-compute-debug
Closed

Support debugging compute shaders directly from the texture viewer#3770
qwmnerbvqwmn wants to merge 1 commit intobaldurk:v1.xfrom
qwmnerbvqwmn:pr/texture-viewer-compute-debug

Conversation

@qwmnerbvqwmn
Copy link

Description

Support directly clicking "debug" in the textureview window within ComputePass, which will pop up the compute shader debug window, and enter the current pixel pos as the dispatch thread id

image

@qwmnerbvqwmn qwmnerbvqwmn force-pushed the pr/texture-viewer-compute-debug branch from 7f71393 to c4e8e82 Compare January 16, 2026 19:25
@baldurk
Copy link
Owner

baldurk commented Jan 26, 2026

This functionality is deliberately not provided, as although it is common to have a 1:1 linear association of pixel to dispatch thread it is not guaranteed and the UI implying that it is could easily be confusing.

Something like this can easily be implemented as a python UI extension if you are aware of that and want to have the button anyway, and if you want extra things exposed to python such as the thread selector that is a reasonable separate request.

@baldurk baldurk closed this Jan 26, 2026
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.

2 participants