Conditional discard in loop test

Test for issue with conditional discard in loop for angle directx 11
implementation
Merge pull request #656 from TiborsHub/master

Conditional discard in loop test