Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Decompiled Shader


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 fs1   Members   -  Reputation: 376

Like
0Likes
Like

Posted 12 July 2014 - 04:39 AM

Dear All

I have decompiled a shader code and I see slot i0.

What does this stand for and how can I set/change its value from the CPU side?

Thanks!

Sponsor:

#2 unbird   Crossbones+   -  Reputation: 7490

Like
2Likes
Like

Posted 12 July 2014 - 05:21 AM

Constant Integer register (here an overview for other SM2 vs registers). You set them with IDirect3DDevice9::SetVertexShaderConstantI.

#3 fs1   Members   -  Reputation: 376

Like
0Likes
Like

Posted 12 July 2014 - 06:08 AM

Thanks so much.
That helps!




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS