From c517defbdd7d6e989c1b7daabbdfdc4d668fbce9 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Fri, 21 Jul 2023 16:58:54 +0200 Subject: [PATCH] r600/sfn: Fix typo with block type Signed-off-by: Gert Wollny Part-of: --- src/gallium/drivers/r600/sfn/sfn_instr.cpp | 2 +- src/gallium/drivers/r600/sfn/sfn_instr.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/r600/sfn/sfn_instr.cpp b/src/gallium/drivers/r600/sfn/sfn_instr.cpp index f3e2a5f..21b5e3a 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 4de2777..415b0b5 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; -- 2.7.4