aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/stateblock9.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-10-19 22:18:56 +0200
committerAxel Davy <[email protected]>2016-12-20 23:44:20 +0100
commit9be94d5c1ac42bd39b9774db9de507c947ceb8f2 (patch)
treece0a489601340988e993b4617f72210b06185179 /src/gallium/state_trackers/nine/stateblock9.c
parent638b70985d97fddd4c34940de6720fe1d9847b26 (diff)
st/nine: Remove unused ff.changed.group
It was unused. 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.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/state_trackers/nine/stateblock9.c b/src/gallium/state_trackers/nine/stateblock9.c
index 75754dfe12a..16e60ef9339 100644
--- a/src/gallium/state_trackers/nine/stateblock9.c
+++ b/src/gallium/state_trackers/nine/stateblock9.c
@@ -293,8 +293,6 @@ nine_state_copy_common(struct NineDevice9 *device,
WARN_ONCE("Fixed function state not handled properly by StateBlocks.\n");
/* Fixed function state. */
- if (apply)
- dst->ff.changed.group |= src->ff.changed.group;
if (mask->changed.group & NINE_STATE_FF_MATERIAL)
dst->ff.material = src->ff.material;
@@ -480,9 +478,6 @@ nine_state_copy_common_all(struct NineDevice9 *device,
WARN_ONCE("Fixed function state not handled properly by StateBlocks.\n");
/* Fixed function state. */
- if (apply)
- dst->ff.changed.group = src->ff.changed.group;
-
dst->ff.material = src->ff.material;
memcpy(dst->ff.tex_stage, src->ff.tex_stage, sizeof(dst->ff.tex_stage));