VideoCore: Eliminate an unnecessary copy in the drawcall loop

This commit is contained in:
Yuri Kunde Schlesner 2016-12-14 21:00:02 -08:00
parent bde54333df
commit f00ada3363
3 changed files with 3 additions and 5 deletions

View file

@ -25,7 +25,7 @@ namespace Pica {
namespace Shader {
OutputVertex OutputRegisters::ToVertex(const Regs::ShaderConfig& config) {
OutputVertex OutputRegisters::ToVertex(const Regs::ShaderConfig& config) const {
// Setup output data
OutputVertex ret;
// TODO(neobrain): Under some circumstances, up to 16 attributes may be output. We need to