Jump to content

  • Log In with Google      Sign In   
  • Create Account

Does Shader Model 4 support matrices composed of 64-bit floating-point values


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 Narf the Mouse   Members   -  Reputation: 312

Like
0Likes
Like

Posted 26 July 2012 - 02:30 PM

Or, in short, does SM 4 support "double4x4"?

I tried asking Google. I found everything *But* the variable types reference.

Sponsor:

#2 MJP   Moderators   -  Reputation: 5643

Like
2Likes
Like

Posted 26 July 2012 - 02:47 PM

SM4.0 has no double support. It's an (optional) feature that was added for SM5.0. You can check for it with ID3D11Device::CheckFeatureSupport. Wikipedia also has comparison tables for AMD and Nvidia GPU's that tell you which ones support double precision.

As for "double4x4" in particular, the HLSL docs say that "double" is a valid type for matrices.

Edited by MJP, 26 July 2012 - 02:49 PM.


#3 Narf the Mouse   Members   -  Reputation: 312

Like
0Likes
Like

Posted 26 July 2012 - 03:19 PM

SM4.0 has no double support. It's an (optional) feature that was added for SM5.0. You can check for it with ID3D11Device::CheckFeatureSupport. Wikipedia also has comparison tables for AMD and Nvidia GPU's that tell you which ones support double precision.

As for "double4x4" in particular, the HLSL docs say that "double" is a valid type for matrices.

Thanks.

#4 phantom   Moderators   -  Reputation: 4115

Like
1Likes
Like

Posted 26 July 2012 - 03:37 PM

It's important to note that current generation GPUs are MUCH slower when in double processing mode.

For example AMD's latest runs double precision at 1/4 the rate of floating point on it's top end chip (Tahiti) while NV's Kepler series (6x0) runs double precision at 1/12th floating point speed (slower than the previous gen which run at 1/4 rate).

In short; unless you really need doubles and can afford the ALU speed hit it's really not a good idea on consumer cards.




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