Usefulness of conditional tree

This commit is contained in:
Lander Gallastegi 2025-02-28 19:10:47 +01:00 committed by Lander Gallastegi
parent ad488a26af
commit 920efdf37c

View File

@ -6,6 +6,10 @@
#include <span>
// This can be used to get, for a given block, the list of conditions that
// must be true for the block to be executed. Can be also useful for
// for determining the maximum number of thimes a block is executed.
namespace Shader::IR {
static void AddConditionalTree(std::span<AbstractSyntaxNode> asl_span, Block::ConditionalData* parent) {