Shader_IR: Address feedback.
This commit is contained in:
parent
806f569143
commit
bb8eb15d39
10 changed files with 40 additions and 36 deletions
|
@ -458,8 +458,7 @@ std::size_t ShaderIR::DeclareAmend(Node new_amend) {
|
|||
}
|
||||
|
||||
u32 ShaderIR::NewCustomVariable() {
|
||||
const u32 id = num_custom_variables++;
|
||||
return id;
|
||||
return num_custom_variables++;
|
||||
}
|
||||
|
||||
} // namespace VideoCommon::Shader
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue