diff options
| author | Chia-I Wu <olv@lunarg.com> | 2015-11-06 10:37:51 +0800 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2015-11-06 15:09:07 -0700 |
| commit | 242c24fae2b831e63a076151880119f52aed408d (patch) | |
| tree | 5e8338131f73de4c609c12bcc84feebfd5930447 | |
| parent | beb9915d7e2b79a15fb79db0298217e2d657b99f (diff) | |
| download | usermoji-242c24fae2b831e63a076151880119f52aed408d.tar.xz | |
bug 15004: Non-coherent memory, when is flush and invalidate required
Add nonCoherentAtomSize.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15004
| -rw-r--r-- | demos/vulkaninfo.c | 5 | ||||
| -rw-r--r-- | include/vulkan/vulkan.h | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/demos/vulkaninfo.c b/demos/vulkaninfo.c index 335be0f9..640ccab7 100644 --- a/demos/vulkaninfo.c +++ b/demos/vulkaninfo.c @@ -928,8 +928,9 @@ static void app_dump_limits(const VkPhysicalDeviceLimits *limits) printf("\t\tlineWidthGranularity = %f\n", limits->lineWidthGranularity ); printf("\t\tstrictLines = %u\n", limits->strictLines ); printf("\t\tstandardSampleLocations = %u\n", limits->standardSampleLocations ); - printf("\t\toptimalBufferCopyOffsetAlignment = 0x%" PRIxLEAST64 "\n", limits->optimalBufferCopyOffsetAlignment ); - printf("\t\toptimalBufferCopyRowPitchAlignment = 0x%" PRIxLEAST64 "\n", limits->optimalBufferCopyRowPitchAlignment ); + printf("\t\toptimalBufferCopyOffsetAlignment = 0x%" PRIxLEAST64 "\n", limits->optimalBufferCopyOffsetAlignment ); + printf("\t\toptimalBufferCopyRowPitchAlignment = 0x%" PRIxLEAST64 "\n", limits->optimalBufferCopyRowPitchAlignment ); + printf("\t\tnonCoherentAtomSize = 0x%" PRIxLEAST64 "\n", limits->nonCoherentAtomSize ); } static void app_gpu_dump_props(const struct app_gpu *gpu) diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index 15e89b5c..4eb7e96a 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -1288,6 +1288,7 @@ typedef struct VkPhysicalDeviceLimits { VkBool32 standardSampleLocations; VkDeviceSize optimalBufferCopyOffsetAlignment; VkDeviceSize optimalBufferCopyRowPitchAlignment; + VkDeviceSize nonCoherentAtomSize; } VkPhysicalDeviceLimits; typedef struct VkPhysicalDeviceSparseProperties { |
