From 653998e005c01f996d7ff4ba4b08bac60bf8fc84 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut <gregory.hainaut@gmail.com> Date: Sat, 12 Mar 2016 12:20:40 +0100 Subject: [PATCH] gsdx: add vertex data offset in comment Avoid to recompute them every time I want to decode the vertex stream --- plugins/GSdx/GSVertex.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/GSdx/GSVertex.h b/plugins/GSdx/GSVertex.h index 0810cdcae..198fbb93d 100644 --- a/plugins/GSdx/GSVertex.h +++ b/plugins/GSdx/GSVertex.h @@ -34,11 +34,11 @@ __aligned(struct, 32) GSVertex { struct { - GIFRegST ST; - GIFRegRGBAQ RGBAQ; - GIFRegXYZ XYZ; - union {uint32 UV; struct {uint16 U, V;};}; - uint32 FOG; + GIFRegST ST; // S:0, T:4 + GIFRegRGBAQ RGBAQ; // RGBA:8, Q:12 + GIFRegXYZ XYZ; // XY:16, Z:20 + union {uint32 UV; struct {uint16 U, V;};}; // UV:24 + uint32 FOG; // FOG:28 }; __m128i m[2];