Add more test related to early fragment tests
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 15 Jun 2021 11:19:12 +0000 (13:19 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 22 Jul 2021 06:53:12 +0000 (06:53 +0000)
commit44d07b40e551afb43270bb5612947f1b3deac0d3
tree318a7d85991afd1b07b1afdee2937c8809f1cf96
parent815494493728343718d25777e7d08118a2c211d0
Add more test related to early fragment tests

- Added tests for EarlyFragmentTest followed by a shader which
  discards. Then check that depth buffer is updated but the color
  buffer and other outputs are not.

- Added tests that write to gl_SampleMask and checked that do not affect
  the depth values written to the depth buffer.

Components: Vulkan
VK-GL-CTS issue: 2968

Added tests:

   dEQP-VK.fragment_operations.early_fragment.discard*
   dEQP-VK.fragment_operations.early_fragment.samplemask*

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Change-Id: I4a0bd49ab9319747e8c92aaa26f64a4e077fa8a5
android/cts/master/vk-master-2021-03-01.txt
android/cts/master/vk-master/fragment-operations.txt
external/vulkancts/modules/vulkan/fragment_ops/vktFragmentOperationsEarlyFragmentTests.cpp
external/vulkancts/mustpass/master/vk-default/fragment-operations.txt