Searched refs:StateSettingGuard (Results 1 – 1 of 1) sorted by relevance
189 template <typename T> class StateSettingGuard { class191 StateSettingGuard(T* state_ptr, T new_state_value) in StateSettingGuard() function in __anon9c6243f80111::StateSettingGuard196 StateSettingGuard(T* state_ptr) : state_ptr_(state_ptr), previous_state_(*state_ptr) {} in StateSettingGuard() function in __anon9c6243f80111::StateSettingGuard198 ~StateSettingGuard() { *state_ptr_ = previous_state_; } in ~StateSettingGuard()297 StateSettingGuard<glslang::TIntermAggregate*> current_function_definition_node_setting_guard( in visitAggregate()683 StateSettingGuard<ObjectAccessChain> setup_remained_accesschain_for_next_level( in visitAggregate()