|
|
@ -39,7 +39,7 @@ void ShaderIR::Decode() { |
|
|
std::memcpy(&header, program_code.data(), sizeof(Tegra::Shader::Header)); |
|
|
std::memcpy(&header, program_code.data(), sizeof(Tegra::Shader::Header)); |
|
|
|
|
|
|
|
|
disable_flow_stack = false; |
|
|
disable_flow_stack = false; |
|
|
const auto info = ScanFlow(program_code, program_code.size(), main_offset); |
|
|
|
|
|
|
|
|
const auto info = ScanFlow(program_code, program_size, main_offset); |
|
|
if (info) { |
|
|
if (info) { |
|
|
const auto& shader_info = *info; |
|
|
const auto& shader_info = *info; |
|
|
coverage_begin = shader_info.start; |
|
|
coverage_begin = shader_info.start; |
|
|
|