Skip to main content
GameDev.net gamedev.net
🔒 Locked

RenderDoc - Weird output signatures

Started by Veiled Glitch Dec 6, 2014 at 8:20 AM 3 replies 2.3k views
Original Post
Veiled Glitch
Veiled Glitch

When debugging an app to figure out a bug, I saw this:

uzSVrzf.png

And in my opinion this seems strange, why would it only use those specific channels in the output signature ( which are the complete opposite of what was used in the input signature )?

Or perhaps I'm misinterpreting what I'm seeing.

Thank you.

unbird
unbird
Judging from the source code, looks like a 1:1 a dump from D3D shader reflection. "Used" in that view seems to be ReadWriteMask from D3D11_SIGNATURE_PARAMETER_DESC. It's actually confusing (quoting the docs):

Mask which indicates whether a given component is never written (if the signature is an output signature) or always read (if the signature is an input signature).


Emphasis mine. Flags or bools with negative meaning are bad wacko.png
baldurk
baldurk

Wow that's crazy, I didn't realise it had a different meaning on output signatures. I've fixed it so that it's not so confusing :).

unbird
unbird

That was quick. Thanks. biggrin.png

Nice tool, by the way.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.