mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-04 19:36:27 +00:00
shader_ir: Unify blocks in decompiled shaders.
This commit is contained in:
committed by
FernandoS27
parent
d7b3d3a823
commit
82efa35683
@@ -3,7 +3,7 @@
|
||||
#include <cstring>
|
||||
#include <list>
|
||||
#include <optional>
|
||||
#include <vector>
|
||||
#include <unordered_set>
|
||||
|
||||
#include "video_core/engines/shader_bytecode.h"
|
||||
#include "video_core/shader/shader_ir.h"
|
||||
@@ -48,6 +48,7 @@ struct ShaderCharacteristics {
|
||||
bool decompilable{};
|
||||
u32 start;
|
||||
u32 end;
|
||||
std::unordered_set<u32> labels{};
|
||||
};
|
||||
|
||||
bool ScanFlow(const ProgramCode& program_code, u32 program_size, u32 start_address,
|
||||
|
||||
Reference in New Issue
Block a user