mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 04:30:10 +01:00
additional comments for tri_persp_coeff()
This commit is contained in:
parent
ccd63b54cf
commit
72b0a57cfa
1 changed files with 4 additions and 0 deletions
|
|
@ -428,6 +428,10 @@ static void tri_linear_coeff( struct setup_stage *setup,
|
|||
/**
|
||||
* Compute a0, dadx and dady for a perspective-corrected interpolant,
|
||||
* for a triangle.
|
||||
* We basically multiply the vertex value by 1/w before computing
|
||||
* the plane coefficients (a0, dadx, dady).
|
||||
* Later, when we compute the value at a particular fragment position we'll
|
||||
* divide the interpolated value by the interpolated W at that fragment.
|
||||
*/
|
||||
static void tri_persp_coeff( struct setup_stage *setup,
|
||||
unsigned slot,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue