mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-14 04:07:57 -05:00
shader_ir: propagate shader size to the IR
This commit is contained in:
committed by
FernandoS27
parent
8a6fc529a9
commit
459fce3a8f
@ -22,8 +22,8 @@ using Tegra::Shader::PredCondition;
|
||||
using Tegra::Shader::PredOperation;
|
||||
using Tegra::Shader::Register;
|
||||
|
||||
ShaderIR::ShaderIR(const ProgramCode& program_code, u32 main_offset)
|
||||
: program_code{program_code}, main_offset{main_offset} {
|
||||
ShaderIR::ShaderIR(const ProgramCode& program_code, u32 main_offset, const std::size_t size)
|
||||
: program_code{program_code}, main_offset{main_offset}, program_size{size} {
|
||||
Decode();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user