Enable MCS compression on ACM platform
Currently, we have MCS and MCS_LCE compression disabled for the ACM platform. The experiment shows that we have some issues when there is a multisample render target read is involved.
The following test shows the intermittent failures on the iris:
dEQP-GLES31.functional.blend_equation_advanced.msaa*
There is another simple piglit test that is also failing intermittently: ./generated_tests/spec/EXT_shader_framebuffer_fetch_non_coherent/execution/gles3/nonuniform-ms16.shader_test
A couple of experiments that we carried out and the findings:
-
If we want to enable just MCS compression, we need to do the full resolve. For MCS_CCS, we still have the compressed color value that needs to be fully resolved. But the experiment shows that we have issues in that area. So we can consider just enabling the MCS compression with full resolve.
-
If we just copy the surface to itself, the experiment shows that we can get the 100% pass rate for MSRT (multisample render target) read test cases.
- Issue with this approach is, if we enable MCS_LCE, then with CCS read/write to the same surface is problematic, we need to disable the color compression.