summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_state.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-06-28 13:59:18 +0800
committerChia-I Wu <[email protected]>2013-06-28 15:01:00 +0800
commit2c9b6a2164281f29217e75c3ab3a018dcd22ae11 (patch)
tree763913c39c50d6aec6835ec0688e6f81b988a61e /src/gallium/drivers/ilo/ilo_state.c
parent7ea3ed81c80ec5941beacace4c6869c870b55478 (diff)
ilo: remove ilo_cbuf_state::count
We can derive it from enabled_mask.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_state.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_state.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/ilo/ilo_state.c b/src/gallium/drivers/ilo/ilo_state.c
index 87b4e2992a4..c6790045c36 100644
--- a/src/gallium/drivers/ilo/ilo_state.c
+++ b/src/gallium/drivers/ilo/ilo_state.c
@@ -122,8 +122,6 @@ finalize_constant_buffers(struct ilo_context *ilo)
cbuf->user_buffer_size = 0;
}
}
-
- ilo->cbuf[sh].count = util_last_bit(ilo->cbuf[sh].enabled_mask);
}
}