Add gstate.isClearModeDepthWriteEnabled/ColorMask/AlphaMask()