st/nine: Remove unused ff.changed.group
authorAxel Davy <axel.davy@ens.fr>
Wed, 19 Oct 2016 20:18:56 +0000 (22:18 +0200)
committerAxel Davy <axel.davy@ens.fr>
Tue, 20 Dec 2016 22:44:20 +0000 (23:44 +0100)
It was unused.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/nine_state.h
src/gallium/state_trackers/nine/stateblock9.c

index 714f1a9a0eb192464c0060695bc55cc865c160ba..bde02e3646feda78ddbd5760f5f2ae129b6f1d03 100644 (file)
@@ -209,7 +209,6 @@ struct nine_state
 
     struct {
         struct {
-            uint32_t group;
             uint32_t tex_stage[NINE_MAX_TEXTURE_STAGES][(NINED3DTSS_COUNT + 31) / 32];
             uint32_t transform[(NINED3DTS_COUNT + 31) / 32];
         } changed;
index 75754dfe12ab1ca51a43102e66831dad7cb895e7..16e60ef9339298660cbd0a4f15d50a9e8447b6d2 100644 (file)
@@ -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));