The D3DCOMPILE constants specify how the D3D compiler compiles the HLSL code.
Only a few constants are specific to Xbox One, and are listed below. The other constants can be found at D3DCOMPILE Constants.
| Constant | Description |
|---|---|
| D3DCOMPILE_NO_DEBUG_AND_ALL_FAST_SEMANTICS | Improves the performance of:
|
| D3D10_SHADER_XBOX_NOPRECOMPILE | Disable precompilation of dxbc to Xbox One shader objects. |
| D3DCOMPILE_NO_DEBUG | Improves the performance of SetFastResources and related SetFast* APIs by removing a run-time 'if'. When this is enabled, PIX captures with API calls will no longer work, though PIX command captures, without API calls, will continue to work. This mode is recommended only for your retail builds. |