VideoCore/Shader: Clean up OutputVertex::FromAttributeBuffer

This also fixes a long-standing but neverthless harmless memory
corruption bug, whech the padding of the OutputVertex struct would get
corrupted by unused attributes.
This commit is contained in:
Yuri Kunde Schlesner 2016-12-18 23:42:29 -08:00
parent d36ec905b1
commit 8ed9f9d49f
2 changed files with 16 additions and 10 deletions

View file

@ -99,7 +99,8 @@ struct Regs {
TEXCOORD1_U = 14,
TEXCOORD1_V = 15,
// TODO: Not verified
TEXCOORD0_W = 16,
VIEW_X = 18,
VIEW_Y = 19,
VIEW_Z = 20,