init
This commit is contained in:
commit
2fe6ca2f65
1473 changed files with 251771 additions and 0 deletions
14
gamedata/shaders/d3d11/stub_notransform.vs.hlsl
Normal file
14
gamedata/shaders/d3d11/stub_notransform.vs.hlsl
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#include "common_iostructs.hlsli"
|
||||
|
||||
// Vertex
|
||||
v2p_TL main(v_TL I)
|
||||
{
|
||||
v2p_TL O;
|
||||
|
||||
O.HPos = I.P;
|
||||
O.Tex0 = I.Tex0;
|
||||
// Some shaders that use this stub don't need Color at all
|
||||
O.Color = I.Color.bgra; // swizzle vertex colour
|
||||
|
||||
return O;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue