ported stdshader_* (dx6, dx7, dx8, dx9)

This commit is contained in:
EnderZip
2021-10-01 13:28:22 +07:00
parent 669f368e34
commit 99fbd1c279
1533 changed files with 162379 additions and 46973 deletions

View File

@@ -1,23 +1,23 @@
#include "common_vs_fxc.h"
struct VS_INPUT
{
float4 vPos : POSITION;
float2 vTexCoord : TEXCOORD0;
};
struct VS_OUTPUT
{
float4 vProjPos : POSITION;
float2 vTexCoord : TEXCOORD0;
};
VS_OUTPUT main( const VS_INPUT v )
{
VS_OUTPUT o = ( VS_OUTPUT )0;
o.vProjPos = mul( v.vPos, cModelViewProj );
o.vTexCoord = v.vTexCoord;
return o;
#include "common_vs_fxc.h"
struct VS_INPUT
{
float4 vPos : POSITION;
float2 vTexCoord : TEXCOORD0;
};
struct VS_OUTPUT
{
float4 vProjPos : POSITION;
float2 vTexCoord : TEXCOORD0;
};
VS_OUTPUT main( const VS_INPUT v )
{
VS_OUTPUT o = ( VS_OUTPUT )0;
o.vProjPos = mul( v.vPos, cModelViewProj );
o.vTexCoord = v.vTexCoord;
return o;
}