I recently learned that HLSL has a built in function called firstbithigh. ... return ((uint) ceil ( sqrt ( i_n ) )) << 1u;. } ...
確定! 回上一頁