brw: Remove extra interface in brw_cfg types

The C++ one is more used, so let that one remain.  These data structures
are not used from C sources anymore.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33957>
This commit is contained in:
Caio Oliveira
2025-03-07 19:47:01 -08:00
committed by Marge Bot
parent c58ba21ba8
commit 89f0db0aaa
3 changed files with 51 additions and 157 deletions
@@ -80,14 +80,14 @@ TEST_F(FSCombineConstantsTest, Simple)
ASSERT_TRUE(progress);
ASSERT_EQ(shader->cfg->num_blocks, 1);
bblock_t *block = cfg_first_block(shader->cfg);
bblock_t *block = shader->cfg->first_block();
ASSERT_NE(block, nullptr);
/* We can do better but for now sanity check that
* there's a MOV and a SEL.
*/
ASSERT_EQ(bblock_start(block)->opcode, BRW_OPCODE_MOV);
ASSERT_EQ(bblock_end(block)->opcode, BRW_OPCODE_SEL);
ASSERT_EQ(block->start()->opcode, BRW_OPCODE_MOV);
ASSERT_EQ(block->end()->opcode, BRW_OPCODE_SEL);
}
TEST_F(FSCombineConstantsTest, DoContainingDo)