Skip to content

Commit

Permalink
[rhi] removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
PanosK92 committed Dec 9, 2024
1 parent e2c9879 commit d6e0be0
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions runtime/RHI/RHI_SyncPrimitive.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@ namespace Spartan
Max
};

enum class RHI_Sync_State
{
Idle,
Submitted,
Max,
};


class RHI_SyncPrimitive : public SpartanObject
{
public:
Expand All @@ -65,15 +57,10 @@ namespace Spartan
// misc
void Reset();

// state
RHI_Sync_State GetStateCpu() const { return m_state_cpu; }
void SetStateCpu(const RHI_Sync_State state) { m_state_cpu = state; }

// rhi
void* GetRhiResource() { return m_rhi_resource; }

private:
RHI_Sync_State m_state_cpu = RHI_Sync_State::Idle;
RHI_SyncPrimitive_Type m_type = RHI_SyncPrimitive_Type::Max;
void* m_rhi_resource = nullptr;
uint64_t m_value_wait = 0;
Expand Down

0 comments on commit d6e0be0

Please sign in to comment.