wtwilliams
wtwilliams

Reputation: 13

How do you compile a HLSL shader DX9 without preshaders?

I'm trying to compile a HLSL DX9 shader without preshaders, but the 9.29.952.3111 version of FXC displays invalid flags when using the /Op argument. It's for a shader model 3 target.

Here's the command I used fxc.exe /T ps_3_0 /nologo /E main /Od /Op /Fo"D:/shaders/pixel.hlsl" "nopreshader.fx"

Upvotes: 0

Views: 448

Answers (0)

Related Questions