diff options
author | Axel Davy <[email protected]> | 2018-09-22 11:05:19 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2018-09-25 22:05:24 +0200 |
commit | 8e0526555d56cf91e6af518d71da176e1a7b19c2 (patch) | |
tree | c39a3e360060cef5c4c9fe997b4d198c88bb37fe /src/gallium/state_trackers/nine/stateblock9.c | |
parent | 5f7a41c33b233e315e1214a7692808def9f105f1 (diff) |
st/nine: Split NINE_STATE_FF_OTHER
NINE_STATE_FF_OTHER was mostly ff vs states.
Rename it to NINE_STATE_FF_VS_OTHER and
move common states with ps to
NINE_STATE_FF_PS_CONSTS (renamed from
NINE_STATE_FF_PSSTAGES).
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/stateblock9.c b/src/gallium/state_trackers/nine/stateblock9.c index 54bf1e3c955..ebfd622ff91 100644 --- a/src/gallium/state_trackers/nine/stateblock9.c +++ b/src/gallium/state_trackers/nine/stateblock9.c @@ -293,7 +293,7 @@ nine_state_copy_common(struct NineDevice9 *device, if (mask->changed.group & NINE_STATE_FF_MATERIAL) dst->ff.material = src->ff.material; - if (mask->changed.group & NINE_STATE_FF_PSSTAGES) { + if (mask->changed.group & NINE_STATE_FF_PS_CONSTS) { for (s = 0; s < NINE_MAX_TEXTURE_STAGES; ++s) { for (i = 0; i < NINED3DTSS_COUNT; ++i) if (mask->ff.changed.tex_stage[s][i / 32] & (1 << (i % 32))) |