mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 15:20:17 +01:00
i915g: Fix comment about sin/cos constants.
This commit is contained in:
parent
bd1ee76442
commit
fe36bc0c41
1 changed files with 2 additions and 2 deletions
|
|
@ -85,14 +85,14 @@ static const float scs_cos_constants[4] = { 1.0,
|
|||
-1.0f / (6 * 5 * 4 * 3 * 2 * 1)
|
||||
};
|
||||
|
||||
/* 1, -1/3!, 1/5!, -1/7! */
|
||||
/* 2*pi, -(2*pi)^3/3!, (2*pi)^5/5!, -(2*pi)^7/7! */
|
||||
static const float sin_constants[4] = { 2.0 * M_PI,
|
||||
-8.0f * M_PI * M_PI * M_PI / (3 * 2 * 1),
|
||||
32.0f * M_PI * M_PI * M_PI * M_PI * M_PI / (5 * 4 * 3 * 2 * 1),
|
||||
-128.0f * M_PI * M_PI * M_PI * M_PI * M_PI * M_PI * M_PI / (7 * 6 * 5 * 4 * 3 * 2 * 1)
|
||||
};
|
||||
|
||||
/* 1, -1/2!, 1/4!, -1/6! */
|
||||
/* 1, -(2*pi)^2/2!, (2*pi)^4/4!, -(2*pi)^6/6! */
|
||||
static const float cos_constants[4] = { 1.0,
|
||||
-4.0f * M_PI * M_PI / (2 * 1),
|
||||
16.0f * M_PI * M_PI * M_PI * M_PI / (4 * 3 * 2 * 1),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue