Searched refs:StateSettingGuard (Results 1 – 1 of 1) sorted by relevance
191 template <typename T> class StateSettingGuard { class193 StateSettingGuard(T* state_ptr, T new_state_value) in StateSettingGuard() function in __anon2c7c2cb80111::StateSettingGuard198 StateSettingGuard(T* state_ptr) : state_ptr_(state_ptr), previous_state_(*state_ptr) {} in StateSettingGuard() function in __anon2c7c2cb80111::StateSettingGuard200 ~StateSettingGuard() { *state_ptr_ = previous_state_; } in ~StateSettingGuard()299 StateSettingGuard<glslang::TIntermAggregate*> current_function_definition_node_setting_guard( in visitAggregate()685 StateSettingGuard<ObjectAccessChain> setup_remained_accesschain_for_next_level( in visitAggregate()