diff --git a/src/gallium/drivers/r600/sfn/sfn_instr.cpp b/src/gallium/drivers/r600/sfn/sfn_instr.cpp index f3e2a5f49f9..21b5e3abb60 100644 --- a/src/gallium/drivers/r600/sfn/sfn_instr.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_instr.cpp @@ -298,7 +298,7 @@ Block::erase(iterator node) void Block::set_type(Type t, r600_chip_class chip_class) { - m_blocK_type = t; + m_block_type = t; switch (t) { case vtx: /* In theory on >= EG VTX support 16 slots, but with vertex fetch diff --git a/src/gallium/drivers/r600/sfn/sfn_instr.h b/src/gallium/drivers/r600/sfn/sfn_instr.h index 4de2777da1b..415b0b5ce86 100644 --- a/src/gallium/drivers/r600/sfn/sfn_instr.h +++ b/src/gallium/drivers/r600/sfn/sfn_instr.h @@ -203,7 +203,7 @@ public: int id() const { return m_id; } - auto type() const { return m_blocK_type; } + auto type() const {return m_block_type; } void set_type(Type t, r600_chip_class chip_class); int32_t remaining_slots() const { return m_remaining_slots;} @@ -243,7 +243,7 @@ private: int m_id; int m_next_index; - Type m_blocK_type{unknown}; + Type m_block_type{unknown}; uint32_t m_remaining_slots{0xffff}; std::array m_kcache;