mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 20:00:11 +01:00
nv50: bswap32 the polygon stipple pattern
The hardware wants the pattern the same way it is passed to glPolygonStipple.
This commit is contained in:
parent
e65258abf5
commit
510fd280b5
1 changed files with 1 additions and 1 deletions
|
|
@ -285,7 +285,7 @@ nv50_state_validate(struct nv50_context *nv50)
|
|||
so = so_new(33, 0);
|
||||
so_method(so, tesla, NV50TCL_POLYGON_STIPPLE_PATTERN(0), 32);
|
||||
for (i = 0; i < 32; i++)
|
||||
so_data(so, nv50->stipple.stipple[i]);
|
||||
so_data(so, util_bswap32(nv50->stipple.stipple[i]));
|
||||
so_ref(so, &nv50->state.stipple);
|
||||
so_ref(NULL, &so);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue