HLSL: Fix #1679: Add HLSL earlydepthstencil -> SPV EarlyFragmentTests.

This commit is contained in:
John Kessenich 2019-01-28 22:19:43 -07:00
parent 8dff52509e
commit 544c039d26
4 changed files with 205 additions and 0 deletions

View file

@ -1869,6 +1869,9 @@ void HlslParseContext::handleEntryPointAttributes(const TSourceLoc& loc, const T
}
break;
}
case EatEarlyDepthStencil:
intermediate.setEarlyFragmentTests();
break;
case EatBuiltIn:
case EatLocation:
// tolerate these because of dual use of entrypoint and type attributes