summaryrefslogtreecommitdiff
path: root/src/video_core/pica.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-12-18 23:42:29 -0800
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-01-29 21:31:38 -0800
commit8ed9f9d49f716487f14736c48a7850129a5910ba (patch)
tree6726dd4b1a8618a7bd76b3d8fac7069ac65ca410 /src/video_core/pica.h
parentd36ec905b1d9536198e584915024ed65f0342ab2 (diff)
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.
Diffstat (limited to 'src/video_core/pica.h')
-rw-r--r--src/video_core/pica.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/pica.h b/src/video_core/pica.h
index ac81a3d0f..e326f7727 100644
--- a/src/video_core/pica.h
+++ b/src/video_core/pica.h
@@ -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,