Nikolay Sivov : d3d10/effect: Implement IsOptimized().