Shader_IR: Address Feedback
This commit is contained in:
parent
cd0f5dfc17
commit
c8473f399e
3 changed files with 9 additions and 11 deletions
|
@ -1815,7 +1815,7 @@ private:
|
|||
ASSERT(meta);
|
||||
|
||||
std::string expr = GenerateTexture(operation, "Grad", {TextureDerivates{}, TextureAoffi{}});
|
||||
return {expr + GetSwizzle(meta->element), Type::Float};
|
||||
return {std::move(expr) + GetSwizzle(meta->element), Type::Float};
|
||||
}
|
||||
|
||||
Expression ImageLoad(Operation operation) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue