mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
always assign texcoord[i][3] to silence valgrind
This commit is contained in:
parent
7961e67c2a
commit
2b7a01a39b
1 changed files with 2 additions and 0 deletions
|
|
@ -515,6 +515,7 @@ interpolate_texcoords(GLcontext *ctx, struct sw_span *span)
|
|||
texcoord[i][0] = s * invQ;
|
||||
texcoord[i][1] = t * invQ;
|
||||
texcoord[i][2] = r * invQ;
|
||||
texcoord[i][3] = q;
|
||||
s += dsdx;
|
||||
t += dtdx;
|
||||
r += drdx;
|
||||
|
|
@ -526,6 +527,7 @@ interpolate_texcoords(GLcontext *ctx, struct sw_span *span)
|
|||
texcoord[i][0] = s * invQ;
|
||||
texcoord[i][1] = t * invQ;
|
||||
texcoord[i][2] = r * invQ;
|
||||
texcoord[i][3] = q;
|
||||
s += dsdx;
|
||||
t += dtdx;
|
||||
r += drdx;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue