diff options
author | Rob Clark <[email protected]> | 2016-07-14 16:08:31 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-07-16 10:00:04 -0400 |
commit | cc46fc3c0921c86baa0fbe25ba6a9c4858f04ab3 (patch) | |
tree | 72708e17a904f1e3419d294a4b18cb121e812da8 /src/mesa | |
parent | 44bbfedbd9983c61f6a461cbfe2e0dc74eda6d37 (diff) |
mesa/st: reduce size of state->st bitmask
In d035d50 this changed to 64b.. which I'm pretty sure was
unintentional. Revert it back to 32b so the entire state struct
is a nice round 64b.
(Note sure that it would actually be measurable, but I did notice
that check_state() was hot in some benchmarks.)
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h index cc25e06111e..18394eb72fb 100644 --- a/src/mesa/state_tracker/st_context.h +++ b/src/mesa/state_tracker/st_context.h @@ -70,7 +70,7 @@ struct u_upload_mgr; struct st_state_flags { GLbitfield mesa; /**< Mask of _NEW_x flags */ - uint64_t st; /**< Mask of ST_NEW_x flags */ + uint32_t st; /**< Mask of ST_NEW_x flags */ }; struct st_tracked_state { |