Merge "libpixelflinger: do not use anonymous structs"
This commit is contained in:
commit
e456d420a5
1 changed files with 5 additions and 5 deletions
|
|
@ -1877,7 +1877,7 @@ void scanline_perspective(context_t* c)
|
||||||
struct {
|
struct {
|
||||||
int32_t s, sq;
|
int32_t s, sq;
|
||||||
int32_t t, tq;
|
int32_t t, tq;
|
||||||
};
|
} sqtq;
|
||||||
struct {
|
struct {
|
||||||
int32_t v, q;
|
int32_t v, q;
|
||||||
} st[2];
|
} st[2];
|
||||||
|
|
@ -1916,10 +1916,10 @@ void scanline_perspective(context_t* c)
|
||||||
int32_t t = tmu.shade.it0 +
|
int32_t t = tmu.shade.it0 +
|
||||||
(tmu.shade.idtdy * ys) + (tmu.shade.idtdx * xs) +
|
(tmu.shade.idtdy * ys) + (tmu.shade.idtdx * xs) +
|
||||||
((tmu.shade.idtdx + tmu.shade.idtdy)>>1);
|
((tmu.shade.idtdx + tmu.shade.idtdy)>>1);
|
||||||
tc[i].s = s;
|
tc[i].sqtq.s = s;
|
||||||
tc[i].t = t;
|
tc[i].sqtq.t = t;
|
||||||
tc[i].sq = gglMulx(s, q0, iwscale);
|
tc[i].sqtq.sq = gglMulx(s, q0, iwscale);
|
||||||
tc[i].tq = gglMulx(t, q0, iwscale);
|
tc[i].sqtq.tq = gglMulx(t, q0, iwscale);
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t span = 0;
|
int32_t span = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue