Get Maximum number of render targets.
Support multiple render targets.

Signed-off-by: John McCutchan <john@johnmccutchan.com>