Jump to content

View more

Image of the Day

雑魚は多めにして、爽快感重視にしつつ・・・(´・ω・`)
早いとこ、ベースを作って、完成にもっていかないとね。
タイトルもまだ迷ってるだよなぁ。 
#indiedev  #indiegame #screenshotsaturday https://t.co/IwVbswGrhe
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Decompiled Shader

4: Adsense

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   

445
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!

#2 unbird   Members   

8307
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   

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