diff options
author | Axel Davy <[email protected]> | 2016-10-19 23:06:05 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-12-20 23:44:22 +0100 |
commit | c5af96aebd2be165e29124c1e5d5bb3b7021bb30 (patch) | |
tree | 7c4778700863624468e82ad92cc5c7c3611c679c /src/gallium/state_trackers/nine/stateblock9.c | |
parent | 4a6d83ebc29546e8a70b4187bf1b66f6d745ef2e (diff) |
st/nine: Put ff data in a separate structure
And make nine_state_access_transform take this
new structure as input.
Part of the refactor to move all gallium calls to
nine_state.c, and have all internal states required
for those calls in nine_context.
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/stateblock9.c')
-rw-r--r-- | src/gallium/state_trackers/nine/stateblock9.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/nine/stateblock9.c b/src/gallium/state_trackers/nine/stateblock9.c index 0aa69be16b9..cc802d4af28 100644 --- a/src/gallium/state_trackers/nine/stateblock9.c +++ b/src/gallium/state_trackers/nine/stateblock9.c @@ -316,9 +316,9 @@ nine_state_copy_common(struct NineDevice9 *device, for (s = i * 32; s < (i * 32 + 32); ++s) { if (!(mask->ff.changed.transform[i] & (1 << (s % 32)))) continue; - *nine_state_access_transform(dst, s, TRUE) = + *nine_state_access_transform(&dst->ff, s, TRUE) = *nine_state_access_transform( /* const because !alloc */ - (struct nine_state *)src, s, FALSE); + (struct nine_ff_state *)&src->ff, s, FALSE); } if (apply) dst->ff.changed.transform[i] |= mask->ff.changed.transform[i]; |