D3DXASM Flags
The following flags are used to control validation when creating a shader.
#define D3DXASM_DEBUG 1
#define D3DXASM_SKIPVALIDATION 2
Constants
- D3DXASM_DEBUG
- Inserts debugging information as comments in the assembled shader.
- D3DXASM_SKIPVALIDATION
- Do not validate the generated code against known capabilities and constraints. This option is recommended only when assembling a shader you know will function (that is, the shader has been assembled before without this option).
Requirements
Header: Declared in D3d8core.h.
See Also
D3DXAssembleShader,
D3DXAssembleShaderFromFile,
D3DXAssembleShaderFromResource