[GPU] Slightly better shader_compiler_main variable name

This commit is contained in:
Triang3l 2020-12-28 22:09:28 +03:00
parent 7943702618
commit 56d802c323
1 changed files with 2 additions and 2 deletions

View File

@ -105,8 +105,8 @@ int shader_compiler_main(const std::vector<std::string>& args) {
auto shader = std::make_unique<Shader>(
shader_type, ucode_data_hash, ucode_dwords.data(), ucode_dwords.size());
StringBuffer buffer;
shader->AnalyzeUcode(buffer);
StringBuffer ucode_disasm_buffer;
shader->AnalyzeUcode(ucode_disasm_buffer);
std::unique_ptr<ShaderTranslator> translator;
if (cvars::shader_output_type == "spirv" ||