mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-29 18:28:14 +02:00
llvmpipe: re-use a1 var in linear_coef()
This commit is contained in:
parent
ff9b55da9a
commit
798a9d3f94
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ static void linear_coef( struct lp_rast_triangle *tri,
|
|||
* to define a0 as the sample at a pixel center somewhere near vmin
|
||||
* instead - i'll switch to this later.
|
||||
*/
|
||||
tri->inputs.a0[slot][i] = (v1[vert_attr][i] -
|
||||
tri->inputs.a0[slot][i] = (a1 -
|
||||
(dadx * (v1[0][0] - 0.5f) +
|
||||
dady * (v1[0][1] - 0.5f)));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue