aboutsummaryrefslogtreecommitdiff
path: root/loader/debug_report.c
AgeCommit message (Collapse)Author
2015-12-17loader: debug_report terminator functions use cast to get loader instanceJon Ashburn
2015-12-17debug_report: Add DebugReportMessage functionCourtney Goeltzenleuchter
2015-12-17debug_report: make destroy have void return valueCourtney Goeltzenleuchter
2015-12-17debug_report: rename and update to use CreateInfoCourtney Goeltzenleuchter
2015-12-17debug_report: Rename VkDbgMsgCallback objectCourtney Goeltzenleuchter
2015-12-15loader: Remove unused functionCourtney Goeltzenleuchter
2015-12-15loader: Remove unused debug helper functionsCourtney Goeltzenleuchter
Helper functions weren't considered essential to the debug_report extension and will be moved to a library.
2015-12-15layers: Rename VK_DEBUG_REPORT_EXTENSION enumsCourtney Goeltzenleuchter
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-11-06loader: Compile fixes to instance extension from rebase of bug 15068 changesJon Ashburn
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-06loader: Update calling conventions on instance extension functionsJon Ashburn
2015-11-06Merge branch 'david_include_change_20151106'David Pinedo
Move header files to include/vulkan
2015-11-06loader: Convert GetInstanceProcAddr and GetDeviceProcAddr over to new semanticsJon Ashburn
As per Vulkan bug 13288. Still need to handle device extensions correctly.
2015-11-06Moved header files from include to include/vulkanDavid Pinedo
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-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 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-10-30bug 14362: VK_NULL_HANDLE does not work in C (WIP)Chia-I Wu
Drop type safety on 32-bit. https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14362
2015-10-08loader: Use correct 64bit printf format for WindowsCourtney Goeltzenleuchter
Fixes LunarXchange issue #145
2015-10-02loader: Fixes in trampoline code to support layers which wrap objectsJon Ashburn
Loader trampoline code may see wrapped objects. Don't do value comparisons of dispatchable objects but instead compare dispatch tables to find objects. PhysicalDevice objects where may have multiple gpus with same instance dispatch will be fixed in a later patch.
2015-10-01loader: Fix vkGetInstanceProcAddr to handle debug_report extensionJon Ashburn
Need loader entrypoints for debug_report extension including the utility functions. Don't call down the instance chain GPA for this extension. Remove instance extensions decoding when GPA instance == NULL as don't want to return extension entrypoints unless they are enabled. This meant the WSI swapchain instance GPA was no longer used so remove it.
2015-09-23loader: Remove instance validation checks from debug_report.cMark Lobodzinski
Cannot reach these points with an invalid instance value.
2015-09-10bug-14538: Remove driver validation checksCourtney Goeltzenleuchter
Marked validation checks done in the driver with TODOVV. Once we verify the check is covered in a validation layer we can remove the driver code.
2015-09-04loader: Fix Windows build for alloc stuffJon Ashburn
2015-09-04loader: Make use of app provided allocation callbacksJon Ashburn
Convert all heap allocs/frees to use loader_heap_alloc() or loader_heap_free(). Before CreateInstance this will use malloc/free. At (and after) CreateInstance alloc callbacks are stored and used for any allocations. Exceptions are thirdparty code (cJSON and dirent_on_windows) still always use malloc/free. Plan to address these in later patch if ti makes sense.
2015-09-04loader: convert to using loader_stack_alloc for consistencyJon Ashburn
2015-09-04All extensions single revision number instead of major.minor.patchIan Elliott
This was decided during the August face-to-face. Originally, the WSI extensions did it the normal OpenGL way (single revision number), and the debug extensions did it the new major.minor.patch way. When I tried to convert WSI, an objection was raised. We decided to go with the OpenGL way. This commit also changes vulkaninfo to report the single revision number. This commit also changes the extension "number" assigned to the 2 debug extensions, basd on a "registration" email that Ian Elliott sent to Jon Leech on 21 August, 2015. The initial set of "registered" extensions are (with their numbers): 1.VK_EXT_KHR_swapchain 2.VK_EXT_KHR_device_swapchain 3.VK_EXT_KHR_display 4.VK_EXT_KHR_display_swapchain 5.VK_EXT_LUNARG_debug_report 6.VK_EXT_LUNARG_debug_marker
2015-08-07include: Change debug report pUserData parameter to non-constJon Ashburn
This was inconsistently defined.
2015-08-04loader: Remove extension origin and use Vulkan ext prop structureJon Ashburn
Origin was set but unused. This allowed tghe loader_extension_property structure to be reduced down to the VkExtensionProperties.
2015-07-31xchange-93: Use VK_ prefix on DEBUG_REPORT_..._NAMECourtney Goeltzenleuchter
Use the Vulkan namespace (VK_ prefix) on DEBUG_REPORT_EXTENSION_NAME This resolves LunarXchange bug #93. https://vulkan.lunarg.com/app/issues/55b76ae37ef24d0001000070
2015-07-23Fix win32 buildDan Ginsburg
2015-07-23loader: Add support for debug break helperCourtney Goeltzenleuchter
Implement BreakCallback that an application can use to set a debugger breakpoint when running on Visual Studio or gdb for requested debug message flags.
2015-07-17v133: eliminate version from extension propertiesCourtney Goeltzenleuchter
2015-07-17Bug 14084 - Improve type safety and remove polymorphismTony Barbour
2015-07-07loader: Save app allocation callbacksCourtney Goeltzenleuchter
Add host memory allocation functions that the loader can use. Add comments of where these allocation calls should go. Need to plumb the instance pointer to some functions to support this.
2015-07-07loader: bug 12992: extension and layer supportCourtney Goeltzenleuchter
Much of layers and loader updated to work with final extension and layer mechanism. Not everything is working here.
2015-07-07loader: Remove the merged enabled_extension list in device and instance structsJon Ashburn
Instead layer stuff can just directly use the activate_layers_list rather than having an intermediate list. This simplifies the code and prepares for adding implicit layers directly.
2015-07-07include: Rename vkLayer.h -> vk_layer.h and vkIcd.h -> vk_icd.hTobin Ehlis
2015-07-01loader: Remove uneeded ICD and layers scanned booleanJon Ashburn
Artifact of when layers and ICDs weren't scanned initially.
2015-07-01loader: Fix compilation warnings for debug_report on WindowsJon Ashburn
2015-06-18Windows: Fix build issues on WindowsTony Barbour
Generate vulkan.def from header, fix use of alloca
2015-06-18memtracker: Add persistent storageCourtney Goeltzenleuchter
This patch eliminates global variables and accesses everything through pre-instance or per-device storage. Have basic template supporting get_my_data_ptr function working.
2015-06-18loader: remove now unused hosted fieldCourtney Goeltzenleuchter
2015-06-18loader: Make global functions (instance chain entrypoints) thread safeJon Ashburn
2015-06-18loader: Fix DestroyInstanceCourtney Goeltzenleuchter