aboutsummaryrefslogtreecommitdiff
path: root/layers/mem_tracker.cpp
AgeCommit message (Collapse)Author
2016-01-05layers: MR105, Add aliasing check for buffer/image overlapMichael Lentine
2016-01-04layers: Enable fine-grained filtering of mem_tracker log messagesMark Lobodzinski
2015-12-31misc: rename startXXX to firstXXX and add firstXXX param to setviewport/scissorJon Ashburn
Header file changes going to 213 version
2015-12-30layers: Rename Layer/library/json files for consistencyMark Lobodzinski
Renamed layers from (for example) xxx_DrawState to xxx_draw_state Renamed JSON files Renamed libraries Renamed object_track.* to object_tracker.* Renamed apidump.h to api_dump.h Renamed screen_shot layer to screenshot Renamed APIDump layer settings file options to ApiDump Bug fixes here and there from prior renames
2015-12-29layers: MR89, Fix gtests for androidMichael Lentine
Conflicts: layers/draw_state.cpp layers/image.cpp layers/mem_tracker.cpp
2015-12-28layers: MR103, Improve image dependency validationMichael Lentine
Remove duplicate dag creation and make sure image is valid if read first in a subpass dag.
2015-12-18layers: Fixes for issues resulting from MR87Mark Lobodzinski
2015-12-18layers: MR87, Adding validation for image validityMichael Lentine
Conflicts: layers/mem_tracker.cpp
2015-12-17debug_report: Update extension nameCourtney Goeltzenleuchter
2015-12-17debug_report: rename object type and error bitsCourtney Goeltzenleuchter
Conflicts: demos/tri.c layers/device_limits.cpp layers/draw_state.cpp layers/image.cpp layers/mem_tracker.cpp layers/param_checker.cpp layers/vk_layer_logging.h loader/debug_report.c tests/layer_validation_tests.cpp
2015-12-17layers: Add support for DebugReportMessageLUNARGCourtney Goeltzenleuchter
2015-12-17layers: export debug_report extensionCourtney Goeltzenleuchter
Need the EnumerateInstanceExtensionProperties to report support for the debug report extension as well as in the json file because different platforms will use either the json file (Windows & Linux) or the Enumerate call (Android).
2015-12-17debug_report: rename and update to use CreateInfoCourtney Goeltzenleuchter
2015-12-17debug_report: Rename VkDbgMsgCallback objectCourtney Goeltzenleuchter
2015-12-15layers: Add allocator to layer init functionsCourtney Goeltzenleuchter
Conflicts: layers/shader_checker.cpp
2015-12-15layers: rename VkDbgObjectTypeCourtney Goeltzenleuchter
VkDebugReportObjectTypeLUNARG fits the extension naming requirements
2015-12-15layers: Rename DebugReport flagsCourtney Goeltzenleuchter
Conflicts: layers/mem_tracker.cpp Conflicts: layers/draw_state.cpp
2015-12-14layers: Add DrawState checks for correct CmdBuffer resetTobin Ehlis
Can only reset individual CmdBuffers if they are allocated from a pool that included the VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT. Also need to intercept vkResetCommandPool() function and make sure that all individual CmdBuffers allocated from that pool are reset when called. Finally, updated naming of cmdBuffer states (RECORDING & RECORDED) to more closely match spec.
2015-12-11layers: LX234, Fix memory validation for VK_WHOLE_SIZE in memory rangesMark Lobodzinski
2015-12-11layers: LX230, Complete initialization of MEM_OBJ_INFO structureMark Lobodzinski
Fields added to MemTracker struct were not initialized
2015-12-01layers: Convert most of the layers to the new WSI.Ian Elliott
2015-12-01WSI: sed-generated changes to WSI code (not all that's needed).Ian Elliott
Conflicts: demos/cube.c demos/tri.c demos/vulkaninfo.c icd/common/icd.h loader/loader.h
2015-11-26layers: Remove mem/object deletion orderingMichael Lentine
Current the spec allows for deleting memory backing an option and then subsequently deleting the object which throws an error.
2015-11-20layers: MemTracker cleanup, remove redundant object-tracker type checksMark Lobodzinski
2015-11-20layers: Fix thread-safety issues found in rendersystemtestsMark Lobodzinski
MemTracker and DrawState needed some mutex protection.
2015-11-19layers: Add null-check in MemTracker to prevent layer crashMark Lobodzinski
2015-11-19layers: Additional MapMemory validation checks in MemTrackerMark Lobodzinski
2015-11-19layers: Fix windows build errors in MemTrackerMark Lobodzinski
2015-11-19mem_tracker: Return VK_SUCCESS in vkCreateCommandPool, vkResetCommandPoolDavid Pinedo
Build on Windows was failing.
2015-11-18layers: Add CommandBufferPool validation to MemTrackerMark Lobodzinski
2015-11-12layers: LX194, Change 'fence already signaled' warning to INFO-levelMark Lobodzinski
2015-11-06bug 15068: Use hardfp calling convention on Android for 32-bit ARM targetsChia-I Wu
Update python scripts. s/(VKAPI \*/(VKAPI_PTR */g s/void VKAPI\b/VKAPI_ATTR void VKAPI_CALL/g s/VkResult VKAPI\b/VKAPI_ATTR VkResult VKAPI_CALL/g s/PFN_vkVoidFunction VKAPI\b/VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL/g s/void\* VKAPI\b/VKAPI_ATTR void* VKAPI_CALL/g https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15068
2015-11-05layers: Fix printf formatsMichael Lentine
Add validation to printf format strings
2015-11-04layers: Validate Flush/Invalidate ranges.Michael Lentine
Merge Request 53 Conflicts: layers/mem_tracker.cpp layers/mem_tracker.h
2015-11-04misc: Update author informationCourtney Goeltzenleuchter
Author information was added to any file with the standard license text. Authors were added that added/changed >= 3% of the lines of a file.
2015-11-04misc: switch copyright to ValveCourtney Goeltzenleuchter
2015-11-04misc: Remove Vulkan name from CopyrightCourtney Goeltzenleuchter
2015-11-04layers: Add map range validation.Michael Lentine
Merge Request 52
2015-11-03layers: Allow calling down chain with vkEnumerateDeviceExtensionPropertiesJon Ashburn
2015-11-02bug 14918 part 3: sed renamesChia-I Wu
s/VK_MAX_PHYSICAL_DEVICE_NAME\b/VK_MAX_PHYSICAL_DEVICE_NAME_SIZE/g s/VK_UUID_LENGTH/VK_UUID_SIZE/g s/VK_MAX_EXTENSION_NAME\b/VK_MAX_EXTENSION_NAME_SIZE/g s/VK_MAX_DESCRIPTION\b/VK_MAX_DESCRIPTION_SIZE/g s/VK_STRUCTURE_TYPE_PIPELINE_RASTER_STATE_CREATE_INFO/VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO/g s/VK_CHANNEL_SWIZZLE/VK_COMPONENT_SWIZZLE/g s/VkChannelSwizzle/VkComponentSwizzle/g s/VK_VERTEX_INPUT_STEP_RATE/VK_VERTEX_INPUT_RATE/g s/VkVertexInputStepRate/VkVertexInputRate/g s/VK_FILL_MODE_SOLID/VK_POLYGON_MODE_FILL/g s/VK_FILL_MODE_WIREFRAME/VK_POLYGON_MODE_LINE/g s/VK_FILL_MODE_POINTS/VK_POLYGON_MODE_POINT/g s/VkFillMode/VkPolygonMode/g s/fillMode/polygonMode/g s/VkBlend\b/VkBlendFactor/g s/VK_BLEND_ZERO/VK_BLEND_FACTOR_ZERO/g s/VK_BLEND_ONE/VK_BLEND_FACTOR_ONE/g s/VK_BLEND_SRC/VK_BLEND_FACTOR_SRC/g s/VK_BLEND_DST/VK_BLEND_FACTOR_DST/g s/VK_BLEND_CONSTANT/VK_BLEND_FACTOR_CONSTANT/g s/VK_RENDER_PASS_CONTENTS/VK_SUBPASS_CONTENTS/g s/VkRenderPassContents/VkSubpassContents/g s/VK_QUEUE_DMA_BIT/VK_QUEUE_TRANSFER_BIT/g s/VK_CHANNEL_/VK_COLOR_COMPONENT_/g s/VkChannelFlagBits/VkColorComponentFlagBits/g s/VK_QUERY_CONTROL_CONSERVATIVE_BIT/VK_QUERY_CONTROL_PRECISE_BIT/g s/occlusionQueryNonConservative/occlusionQueryPrecise/g s/recommendedBufferCopyOffsetAlignment/optimalBufferCopyOffsetAlignment/g s/recommendedBufferCopyRowPitchAlignment/optimalBufferCopyRowPitchAlignment/g s/stencilCompareMask/compareMask/g s/stencilWriteMask/writeMask/g s/stencilReference/reference/g s/VkImageSubresourceCopy/VkImageSubresourceLayers/g s/typeCount/poolSizeCount/g s/pTypeCounts/pPoolSizes/g s/VkDescriptorTypeCount/VkDescriptorPoolSize/g s/srcBlendColor/srcColorBlendFactor/g s/dstBlendColor/dstColorBlendFactor/g s/blendOpColor/colorBlendOp/g s/srcBlendAlpha/srcAlphaBlendFactor/g s/dstBlendAlpha/dstAlphaBlendFactor/g s/blendOpAlpha/alphaBlendOp/g s/channelWriteMask/colorWriteMask/g s/stencilFailOp/failOp/g s/stencilPassOp/passOp/g s/stencilDepthFailOp/depthFailOp/g s/stencilCompareOp/compareOp/g s/stencilCompareMask/compareMask/g s/stencilWriteMask/writeMask/g s/stencilReference/reference/g s/originX/x/g s/originY/y/g s/stepRate/inputRate/g s/VkChannelMapping/VkComponentMapping/g
2015-11-02v196: bug 14921 part 2: Expanding abbreviations for consistency (WIP)Chia-I Wu
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14921
2015-11-02bug 14921 part 1: sed renamesChia-I Wu
Workaround header bug (ALLOC_INFO vs AllocateInfo) in vk_helper.py. This affects the debug extensions as well. s/NONDISP/NON_DISPATCHABLE/g s/CmdBuffer/CommandBuffer/g s/cmdBuffer/commandBuffer/g s/CMD_BUFFER/COMMAND_BUFFER/g s/AllocMemory/AllocateMemory/g s/AllocDescriptorSets/AllocateDescriptorSets/g s/AllocCommandBuffers/AllocateCommandBuffers/g s/VkAllocCallbacks/VkAllocationCallbacks/g s/VkSystemAllocScope/VkSystemAllocationScope/g s/allocScope/allocationScope/g s/allocType/allocationType/g s/pfnAlloc\b/pfnAllocation/g s/pfnRealloc\b/pfnReallocation/g s/VK_SYSTEM_ALLOC_/VK_SYSTEM_ALLOCATION_/g s/extName/extensionName/g s/implVersion/implementationVersion/g s/pAppInfo/pApplicationInfo/g s/pMem\b/pMemory/g s/VkMemoryAllocInfo/VkMemoryAllocateInfo/g s/VkDescriptorSetAllocInfo/VkDescriptorSetAllocateInfo/g s/CmdPool/CommandPool/g s/cmdPool/commandPool/g s/CMD_POOL/COMMAND_POOL/g s/VkCommandBufferAllocInfo/VkCommandBufferAllocateInfo/g s/maxTessellationGenLevel/maxTessellationGenerationLevel/g s/maxFragmentDualSourceAttachments/maxFragmentDualSrcAttachments/g s/destSubpass/dstSubpass/g s/destStageMask/dstStageMask/g s/dualSourceBlend/dualSrcBlend/g s/destBlendColor/dstBlendColor/g s/destBlendAlpha/dstBlendAlpha/g s/VK_FORMAT_NUM/VK_FORMAT_RANGE_SIZE/g s/VK_DYNAMIC_STATE_NUM/VK_DYNAMIC_STATE_RANGE_SIZE/g s/pAppName/pApplicationName/g s/appVersion/applicationVersion/g s/numLevels/levelCount/g s/numLayers/layerCount/g s/destOffset/dstOffset/g s/destSubresource/dstSubresource/g s/VK_IMAGE_LAYOUT_TRANSFER_SOURCE_OPTIMAL/VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL/g s/VK_IMAGE_LAYOUT_TRANSFER_DESTINATION_OPTIMAL/VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL/g s/VK_IMAGE_USAGE_TRANSFER_SOURCE_BIT/VK_IMAGE_USAGE_TRANSFER_SRC_BIT/g s/VK_IMAGE_USAGE_TRANSFER_DESTINATION_BIT/VK_IMAGE_USAGE_TRANSFER_DST_BIT/g s/destBuffer/dstBuffer/g s/destQueueFamilyIndex/dstQueueFamilyIndex/g s/destSet/dstSet/g s/destBinding/dstBinding/g s/destArrayElement/dstArrayElement/g s/VK_BLEND_DEST_COLOR/VK_BLEND_DST_COLOR/g s/VK_BLEND_ONE_MINUS_DEST_COLOR/VK_BLEND_ONE_MINUS_DST_COLOR/g s/VK_BLEND_DEST_ALPHA/VK_BLEND_DST_ALPHA/g s/VK_BLEND_ONE_MINUS_DEST_ALPHA/VK_BLEND_ONE_MINUS_DST_ALPHA/g s/VK_FORMAT_FEATURE_BLIT_SOURCE_BIT/VK_FORMAT_FEATURE_BLIT_SRC_BIT/g s/VK_FORMAT_FEATURE_BLIT_DESTINATION_BIT/VK_FORMAT_FEATURE_BLIT_DST_BIT/g s/VK_BUFFER_USAGE_TRANSFER_SOURCE_BIT/VK_BUFFER_USAGE_TRANSFER_SRC_BIT/g s/VK_BUFFER_USAGE_TRANSFER_DESTINATION_BIT/VK_BUFFER_USAGE_TRANSFER_DST_BIT/g s/VK_COMPARE_OP_LESS_EQUAL/VK_COMPARE_OP_LESS_OR_EQUAL/g s/VK_COMPARE_OP_GREATER_EQUAL/VK_COMPARE_OP_GREATER_OR_EQUAL/g s/VkPipelineRasterStateCreateInfo/VkPipelineRasterizationStateCreateInfo/g s/rasterSamples/rasterizationSamples/g s/pRasterState/pRasterizationState/g s/VK_FRONT_FACE_CCW/VK_FRONT_FACE_COUNTER_CLOCKWISE/g s/VK_FRONT_FACE_CW/VK_FRONT_FACE_CLOCKWISE/g s/VK_PRIMITIVE_TOPOLOGY_LINE_LIST_ADJ/VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY/g s/VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_ADJ/VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY/g s/VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_ADJ/VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY/g s/VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_ADJ/VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY/g s/VK_STENCIL_OP_INC_CLAMP/VK_STENCIL_OP_INCREMENT_AND_CLAMP/g s/VK_STENCIL_OP_DEC_CLAMP/VK_STENCIL_OP_DECREMENT_AND_CLAMP/g s/VK_STENCIL_OP_INC_WRAP/VK_STENCIL_OP_INCREMENT_AND_WRAP/g s/VK_STENCIL_OP_DEC_WRAP/VK_STENCIL_OP_DECREMENT_AND_WRAP/g s/VK_LOGIC_OP_NOOP/VK_LOGIC_OP_NO_OP/g s/VK_LOGIC_OP_EQUIV\b/VK_LOGIC_OP_EQUIVALENT/g s/memBarrierCount/memoryBarrierCount/g s/ppMemBarriers/ppMemoryBarriers/g s/destImage/dstImage/g s/destImageLayout/dstImageLayout/g s/destCache/dstCache/g s/memOffset/memoryOffset/g s/vk_print_vkmemoryallocinfo/vk_print_vkmemoryallocateinfo/g s/pAllocInfo/pAllocateInfo/g s/memRangeCount/memoryRangeCount/g s/pMemRanges/pMemoryRanges/g s/VK_IMAGE_TYPE_NUM/VK_IMAGE_TYPE_RANGE_SIZE/g s/VK_PIPELINE_BIND_POINT_NUM/VK_PIPELINE_BIND_POINT_RANGE_SIZE/g s/vk_size_vkdescriptorsetallocinfo/vk_size_vkdescriptorsetallocateinfo/g s/remap_cmdbuffers/remap_commandbuffers/g s/remap_cmdpool/remap_commandpool/g s/add_to_cmdbuffers_map/add_to_commandbuffers_map/g https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14921 a
2015-11-02bug 14918 part 2: some simple renames (WIP)Chia-I Wu
s/VK_QUEUE_SPARSE_MEMMGR_BIT/VK_QUEUE_SPARSE_BINDING_BIT/g s/VK_SPARSE_IMAGE_FMT_/VK_SPARSE_IMAGE_FORMAT_/g s/maxTexelBufferSize/maxTexelBufferElements/g s/residencyStandard2DMSBlockShape/residencyStandard2DMultisampleBlockShape/g s/formatProps/formatProperties/g s/strideInBytes/stride/g s/offsetInBytes/offset/g s/blendConst\b/blendConstants/g s/fillSize/size/g https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14918
2015-11-02bug 14892 part 2: rename more "count" (WIP)Chia-I Wu
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14892
2015-11-02bug 14848: Verifying Sparse Behavior (WIP)Chia-I Wu
Merge vkQueueBindSparse*() to one. https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14848
2015-11-02bug 14543: rename VkTex* enums to VkTexture* similarly for VK_TEX_* to ↵Chia-I Wu
VK_TEXTURE_* (WIP) s/VK_TEX_FILTER_/VK_FILTER_/g s/VkTexFilter/VkFilter/g s/VK_TEX_MIPMAP_MODE_/VK_SAMPLER_MIPMAP_MODE_/g s/VkTexMipmapMode/VkSamplerMipmapMode/g s/VK_TEX_ADDRESS_MODE_/VK_SAMPLER_ADDRESS_MODE_/g s/VkTexAddressMode/VkSamplerAddressMode/g s/mipMode/mipmapMode/g https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14543
2015-11-02bug 12921: Memory callback (WIP)Chia-I Wu
The per-object allocator is ignored for now. https://cvs.khronos.org/bugzilla/show_bug.cgi?id=12921
2015-11-02bug 14892: 'count' parameters and members named inconsistently in many cases ↵Chia-I Wu
(WIP) s/waitSemCount/waitSemaphoreCount/g s/signalSemCount/signalSemaphoreCount/g s/cmdBufferCount/commandBufferCount/g s/queueFamilyCount/queueFamilyIndexCount/g s/layerCount/enabledLayerNameCount/g s/extensionCount/enabledExtensionNameCount/g https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14892
2015-11-02layers: Remove mid/mdd functions from MemTrackerTobin Ehlis
2015-11-02layers: Migrating MemTracker global data into layer_data structTobin Ehlis