SPV: Add modes for spacing, depth, depth replacing, winding, and point mode.
This commit is contained in:
parent
f685df8c16
commit
e690332c3c
7 changed files with 55 additions and 13 deletions
|
|
@ -1921,6 +1921,7 @@ bool TParseContext::lValueErrorCheck(const TSourceLoc& loc, const char* op, TInt
|
|||
message = "can't modify a readonly buffer";
|
||||
break;
|
||||
case EvqFragDepth:
|
||||
intermediate.setDepthReplacing();
|
||||
// "In addition, it is an error to statically write to gl_FragDepth in the fragment shader."
|
||||
if (profile == EEsProfile && intermediate.getEarlyFragmentTests())
|
||||
message = "can't modify gl_FragDepth if using early_fragment_tests";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue