diff options
author | Chia-I Wu <[email protected]> | 2013-06-26 18:50:01 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-06-26 21:50:26 +0800 |
commit | c610b67972b4a06a25699623d1134b197ae277e0 (patch) | |
tree | 520cf079a990e1ddbe6de7a3849073f768541bf9 /src/gallium/drivers/ilo/ilo_gpe.h | |
parent | 9aebad618c0aab527a0b838ce0a79ffa6dd426bb (diff) |
ilo: use a bitmask for enabled constant buffers
Looping over 4 * 13 constant buffers while in most cases only two are enabled
is stupid.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_gpe.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_gpe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_gpe.h b/src/gallium/drivers/ilo/ilo_gpe.h index aa979f31a09..1f5f47cacaa 100644 --- a/src/gallium/drivers/ilo/ilo_gpe.h +++ b/src/gallium/drivers/ilo/ilo_gpe.h @@ -221,6 +221,7 @@ struct ilo_cbuf_cso { struct ilo_cbuf_state { struct ilo_cbuf_cso cso[ILO_MAX_CONST_BUFFERS]; + uint32_t enabled_mask; unsigned count; }; |