icd:Get more tests passing on mock ICD
authorTobin Ehlis <tobine@google.com>
Thu, 26 Oct 2017 23:25:05 +0000 (17:25 -0600)
committerTobin Ehlis <tobine@google.com>
Mon, 30 Oct 2017 17:01:05 +0000 (11:01 -0600)
Modifying hard-coded minImageTransferGranularity for the queue from
{0,0,0}, which has special restrictions, to {1,1,1} which is more
lenient and removes some unexpected errors, allowing six more tests to
pass.

icd/README.md
scripts/mock_icd_generator.py

index 6859fd1..8905577 100644 (file)
@@ -65,12 +65,6 @@ Currently 324/332 tests are passing with the mock icd, but many passing tests ha
 
 ### Failing Tests
 
-VkLayerTest.ImageFormatLimits
-VkLayerTest.CopyImageTypeExtentMismatch
-VkLayerTest.CopyImageCompressedBlockAlignment
-VkLayerTest.CopyImageSrcSizeExceeded
-VkLayerTest.CopyImageDstSizeExceeded
-VkPositiveLayerTest.UncompressedToCompressedImageCopy
 VkPositiveLayerTest.EmptyDescriptorUpdateTest
 
 ### Passing Tests With Unexpected Errors
index e9dda6f..6dbcab0 100644 (file)
@@ -569,7 +569,7 @@ CUSTOM_C_INTERCEPTS = {
             pQueueFamilyProperties[0].queueFlags = VK_QUEUE_GRAPHICS_BIT | VK_QUEUE_COMPUTE_BIT | VK_QUEUE_TRANSFER_BIT | VK_QUEUE_SPARSE_BINDING_BIT;
             pQueueFamilyProperties[0].queueCount = 1;
             pQueueFamilyProperties[0].timestampValidBits = 0;
-            pQueueFamilyProperties[0].minImageTransferGranularity = {0,0,0};
+            pQueueFamilyProperties[0].minImageTransferGranularity = {1,1,1};
         }
     }
 ''',