float vs double on graphics hardware

后端 未结 4 804
隐瞒了意图╮
隐瞒了意图╮ 2021-02-01 04:51

I\'ve been trying to find info on performance of using float vs double on graphics hardware. I\'ve found plenty of info on float vs double on CPUs, but such info is more scarce

4条回答
  •  無奈伤痛
    2021-02-01 05:14

    Doubles are not supported for rendering until DX11: (ie Shader Model 5)

    http://msdn.microsoft.com/en-us/library/ee418354(VS.85).aspx

    I suspect OpenGL will be the same.

提交回复
热议问题