Speed of cos() and sin() function in GLSL shaders?

前端 未结 6 1886
别那么骄傲
别那么骄傲 2021-01-17 10:51

I\'m interested in information about the speed of sin() and cos() in Open GL Shader Language.

The GLSL Specification Document indi

6条回答
  •  广开言路
    2021-01-17 11:31

    This is a good question. I too wondered this.

    Google'd links say cos and sin are single-cycle on mainstream cards since 2005 or so.

提交回复
热议问题