freedreno: Require C++17.
Commit 3a772be0 ("freedreno: Add perfetto renderpass support") uses C++17 init-statement feature.
GCC ../src/gallium/drivers/freedreno/freedreno_perfetto.cc: In lambda function: ../src/gallium/drivers/freedreno/freedreno_perfetto.cc:148:11: warning: init-statement in selection statements only available with ‘-std=c++17’ or ‘-std=gnu++17’ 148 | if (auto state = tctx.GetIncrementalState(); state->was_cleared) { | ^~~~
Clang ../src/gallium/drivers/freedreno/freedreno_perfetto.cc:148:11: warning: 'if' initialization statements are a C++17 extension [-Wc++17-extensions] if (auto state = tctx.GetIncrementalState(); state->was_cleared) { ^
Intel C++ Compiler ../src/gallium/drivers/freedreno/freedreno_perfetto.cc(148): error: expected a ")" if (auto state = tctx.GetIncrementalState(); state->was_cleared) { ^
Fixes: 3a772be0 ("freedreno: Add perfetto renderpass support") Closes: #5193 (closed) Signed-off-by: Vinson Lee vlee@freedesktop.org