Shader_IR: Address feedback.

This commit is contained in:
Fernando Sahmkow 2020-01-24 10:44:34 -04:00 committed by FernandoS27
parent 26b5aa702d
commit 2e6a1b965d
10 changed files with 40 additions and 36 deletions

View file

@ -201,7 +201,8 @@ u32 ShaderIR::DecodeTexture(NodeBlock& bb, u32 pc) {
}
for (u32 element = 0; element < values.size(); ++element) {
MetaTexture meta{*sampler, array_node, {}, {}, {}, derivates, {}, {}, {}, element, index_var};
MetaTexture meta{*sampler, array_node, {}, {}, {}, derivates,
{}, {}, {}, element, index_var};
values[element] = Operation(OperationCode::TextureGradient, std::move(meta), coords);
}