Skip to content

Issues debugging shaders #19

@DScorgie

Description

@DScorgie

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.
renderdoc

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA crash, misbehaviour, or other problem

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions