16 lines
324 B
GLSL
16 lines
324 B
GLSL
#include "common.h"
|
|
|
|
struct v2p
|
|
{
|
|
float4 hpos: POSITION; // Clip-space position (for rasterization)
|
|
};
|
|
|
|
//////////////////////////////////////////////////////////////////////////////////////////
|
|
// Vertex
|
|
v2p main ( float4 P: POSITION )
|
|
{
|
|
v2p O;
|
|
O.hpos = mul (m_WVP, P );
|
|
return O;
|
|
}
|
|
FXVS;
|