Revert "radeonsi: fix build with GCC 4.8"
authorMarek Olšák <marek.olsak@amd.com>
Sat, 6 May 2017 19:15:51 +0000 (21:15 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 6 May 2017 19:17:52 +0000 (21:17 +0200)
This reverts commit 485ece83aceb3a35792efbc6fe2bca57ba46c04a.

It's needed to revert 7088b655e8828bb960f528dd33132de27c505b8f.

src/gallium/drivers/radeonsi/si_perfcounter.c

index fd28d11..ad7b9b7 100644 (file)
@@ -302,7 +302,7 @@ static const struct si_pc_block_base cik_TCP = {
        .layout = SI_PC_MULTI_ALTERNATE,
 };
 
-static const struct si_pc_block_base cik_VGT = {
+static const struct si_pc_block_base cik_VGT = (const struct si_pc_block_base) {
        .name = "VGT",
        .num_counters = 4,
        .flags = R600_PC_BLOCK_SE,