aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2017-10-26 17:25:05 -0600
committerTobin Ehlis <tobine@google.com>2017-10-30 11:01:05 -0600
commit7789e3bb50b52352562d9e22f66e6e089cfeff6b (patch)
tree2933b8b16f7adbee2927fa46378c3e0a4574bb2d /scripts
parent9638acc0d8266d56a86270e2fc5f772dbfd0aaf9 (diff)
downloadusermoji-7789e3bb50b52352562d9e22f66e6e089cfeff6b.tar.xz
icd:Get more tests passing on mock ICD
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.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mock_icd_generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mock_icd_generator.py b/scripts/mock_icd_generator.py
index e9dda6f6..6dbcab0c 100644
--- a/scripts/mock_icd_generator.py
+++ b/scripts/mock_icd_generator.py
@@ -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};
}
}
''',