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!


DX9: How many Sampler Units?


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
3 replies to this topic

#1 schupf   Members   -  Reputation: 216

Like
0Likes
Like

Posted 19 July 2012 - 10:19 AM

Hello,

I am using DX9 and Shader Model 3.0. In my Pixel Shader files I declare textures like this:

sampler myTexture : register(s0);
sampler myTexture2 : register(s1);

Now I wonder how many sampler registers s# are available? I searched a lot but could not find a number. Thanks for help!

Sponsor:

#2 eppo   Crossbones+   -  Reputation: 3050

Like
1Likes
Like

Posted 19 July 2012 - 11:25 AM

ps_3_0: 16
vs_3_0: 4

Edited by eppo, 19 July 2012 - 11:27 AM.


#3 schupf   Members   -  Reputation: 216

Like
0Likes
Like

Posted 19 July 2012 - 01:39 PM

Thanks. Where did you find this information?

#4 eppo   Crossbones+   -  Reputation: 3050

Like
0Likes
Like

Posted 19 July 2012 - 02:16 PM

It's in the DirectX SDK documentation:


http://msdn.microsoft.com/en-us/library/windows/desktop/bb172920(v=vs.85).aspx




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