File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ #include "common.h"
2+ #include "iostructs\v_TL.h"
3+
4+ // ////////////////////////////////////////////////////////////////////////////////////////
5+ // Vertex
6+ v2p_TL _main ( v_TL I )
7+ {
8+ v2p_TL O;
9+
10+ // O.HPos = I.P;
11+ O.HPos = mul(m_VP, I.P); // xform, input in world coords
12+ O.HPos.z = O.HPos.w;
13+ O.Tex0 = I.Tex0;
14+ O.Color = I.Color.bgra; // swizzle vertex colour
15+
16+ return O;
17+ }
Original file line number Diff line number Diff line change 1+ #include "common.h"
2+ #include "iostructs\v_TL.h"
3+
4+ // ////////////////////////////////////////////////////////////////////////////////////////
5+ // Vertex
6+ v2p_TL _main ( v_TL I )
7+ {
8+ v2p_TL O;
9+
10+ O.HPos = mul( m_VP, I.P );
11+ O.Tex0 = I.Tex0;
12+ O.Color = I.Color.bgra; // swizzle vertex colour
13+
14+ return O;
15+ }
You can’t perform that action at this time.
0 commit comments