1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include "shaderCommon.h" cbuffer constBuf : register(b0) { FluidShaderConst gParams; }; PassthroughVertexOut passThroughVS(MeshVertexIn input) { PassthroughVertexOut output; output.position = float4(input.position, 1.0f); output.texCoord = input.texCoord; return output; }