diff options
| author | Tobin Ehlis <tobine@google.com> | 2017-11-03 15:21:53 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2017-11-06 16:29:51 -0700 |
| commit | 24e2e8aa45562729b08a7c58c4c7bfa6104ad0d4 (patch) | |
| tree | e08bf291c9cd7b7a4c558b503feb23db95f23b76 /scripts | |
| parent | 41ffa8d6d7e5efd8a2b774030584cf352e282c08 (diff) | |
| download | usermoji-24e2e8aa45562729b08a7c58c4c7bfa6104ad0d4.tar.xz | |
icd:Reduce offset alignment limits
Buffer min offset alignments were set to the max value. Reduce them to
16 to simplify testing of offsets that are a multiple of the min
alignment.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/mock_icd_generator.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/mock_icd_generator.py b/scripts/mock_icd_generator.py index 899a75b1..c0757e23 100644 --- a/scripts/mock_icd_generator.py +++ b/scripts/mock_icd_generator.py @@ -133,9 +133,9 @@ static VkPhysicalDeviceLimits SetLimits(VkPhysicalDeviceLimits *limits) { limits->viewportBoundsRange[1] = 8191; limits->viewportSubPixelBits = 0; limits->minMemoryMapAlignment = 64; - limits->minTexelBufferOffsetAlignment = 256; - limits->minUniformBufferOffsetAlignment = 256; - limits->minStorageBufferOffsetAlignment = 256; + limits->minTexelBufferOffsetAlignment = 16; + limits->minUniformBufferOffsetAlignment = 16; + limits->minStorageBufferOffsetAlignment = 16; limits->minTexelOffset = -8; limits->maxTexelOffset = 7; limits->minTexelGatherOffset = -8; |
