- Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
BugA crash, misbehaviour, or other problemA crash, misbehaviour, or other problem
Description
Hi,
There are a couple of issues I encountered while having a first look at RenderDoc:
- Integer shader inputs seem to be only displayable as float (in the "Constants & Resources" window)
- Switch statements do not seem to work correctly when debugging shaders. It seems the first case is always taken, regardless of the switch value.
See attached image for examples of both issues - the v2.x here is (int) 3, so should take the 'default' path, but is instead taking the '0'th case.

Metadata
Metadata
Assignees
Labels
BugA crash, misbehaviour, or other problemA crash, misbehaviour, or other problem