mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-02 07:22:24 +00:00
Usefulness of conditional tree
This commit is contained in:
parent
ad488a26af
commit
920efdf37c
@ -6,6 +6,10 @@
|
|||||||
|
|
||||||
#include <span>
|
#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 {
|
namespace Shader::IR {
|
||||||
|
|
||||||
static void AddConditionalTree(std::span<AbstractSyntaxNode> asl_span, Block::ConditionalData* parent) {
|
static void AddConditionalTree(std::span<AbstractSyntaxNode> asl_span, Block::ConditionalData* parent) {
|
||||||
|
Loading…
Reference in New Issue
Block a user