error X3501: 'main': entrypoint not found
I don't have an entrypoint because I am using shader assembly. How do I use
FXC without HLSL?
Here is the command line:
fxc /nologo /Zi /Od /Fo Debug\Effect.fxo Effect.fx
Here is the FX file:
texture Texture;
technique
{
pass
{
Texture[0] = < Texture >;
MinFilter[0] = LINEAR;
MagFilter[0] = LINEAR;
MipFilter[0] = LINEAR;
AddressU[0] = CLAMP;
AddressV[0] = CLAMP;
VertexShader =
asm
{
vs_1_1
...
};
PixelShader =
asm
{
ps_1_1
...
};
}
}
/T:fx_2_0
--
Pai-Hung Chen
Direct3D, Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.
"John Bolton" <no_spam_j...@no.spam.yahoo.com> wrote in message
news:eqssI7gV...@TK2MSFTNGP12.phx.gbl...