![]() |
![]() |
![]() |
Pixel shaders can be assembled into binary code using psa.exe in Program Files/Microsoft DirectX 9.0 SDK/Utilities/. The usage is:
psa <Switch Options> <Filename> |
---|
The assembler switch options are:
Switch Option | Description |
---|---|
/Vd | Disable validation. |
/Zi | Enable debugging information. |
/Fo <file> | Output object file. |
/Fc <file> | Output assembly code listing file. |
/Fx <file> | Output assembly code and hex listing file. |
/Fh <file> | Output header containing object code. |
/Vn <name> | Use <name> as a variable name in the header file. |
/Cc | Enable color coded assembly listings. |
/D<id>=<text> | Define a macro. |
/nologo | Suppress copyright message. |
file is the filename of the effect to be assembled.