Compute occlusion sample count early when using earlyFragmentTests
Compute occlusion sample count early when using earlyFragmentTests

The occlusionSampleCount() operation should happen early when using
earlyFragmentTests, so this CL allows this operation to happen
right after the early depth test.

Bug: b/200826740
Change-Id: Icd184345c166aee7f879f394916840770f157194
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/66152
Reviewed-by: Nicolas Capens <51edc787c30f24c4904e8ffbb5523c3a9f7a451d@google.com>
Tested-by: Alexis Hétu <1c7141772178a7e80858c3db5052b328076f08f4@google.com>
Kokoro-Result: kokoro <2ac7b1f3fa578934c95181d4272be0d3bca00121@google.com>
Presubmit-Ready: Alexis Hétu <1c7141772178a7e80858c3db5052b328076f08f4@google.com>

google/swiftshader,google/swiftshader,google/swiftshader