Chia-I Wu [Fri, 30 Oct 2015 16:31:16 +0000 (00:31 +0800)]
bug 14936 part 2: Sparse questions/issues (WIP)
Add VK_SPARSE_MEMORY_BIND_METADATA_BIT.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14936
Chia-I Wu [Fri, 30 Oct 2015 16:31:16 +0000 (00:31 +0800)]
v201: bump API minor version
Chia-I Wu [Fri, 30 Oct 2015 16:31:16 +0000 (00:31 +0800)]
bug 14987: Document dependency of Vulkan API spec on SPIR-V spec (WIP)
s/VK_PRIMITIVE_TOPOLOGY_PATCH\b/VK_PRIMITIVE_TOPOLOGY_PATCH_LIST/g
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14987
Chia-I Wu [Fri, 30 Oct 2015 16:31:16 +0000 (00:31 +0800)]
v200: bump API minor version
Chia-I Wu [Fri, 30 Oct 2015 16:31:16 +0000 (00:31 +0800)]
bug 14608: VkShaderModule object lifetime (WIP)
Remove VkShader. We add a simple cache to intel_shader_module in place of
intel_shader.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14608
Chia-I Wu [Fri, 30 Oct 2015 16:31:16 +0000 (00:31 +0800)]
bug 12921 part 2: Memory callback (WIP)
Minor cleanups.
s/VK_SYSTEM_ALLOCATION_SCOPE_FUNCTION/VK_SYSTEM_ALLOCATION_SCOPE_COMMAND/g
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=12921
Chia-I Wu [Fri, 30 Oct 2015 16:31:16 +0000 (00:31 +0800)]
bug 14887: Documenting Valid Behavior in the Spec (WIP)
MR544 introduced header changes accidentally and MR573 fixed some of them.
Not sure if this pBindings-to-pBinding rename is intensional or not.
s/pBindings/pBinding/g
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14887
Jon Ashburn [Tue, 3 Nov 2015 00:59:02 +0000 (17:59 -0700)]
loader: Resource cleanup on loaer_init_physical_device_info()
Jon Ashburn [Tue, 3 Nov 2015 00:40:01 +0000 (17:40 -0700)]
loader: Call down chain for vkEnumerateDeviceExtensionProperties
This allows layers to filter device extensions.
Jon Ashburn [Tue, 3 Nov 2015 00:37:20 +0000 (17:37 -0700)]
layers: Allow calling down chain with vkEnumerateDeviceExtensionProperties
Jon Ashburn [Sun, 1 Nov 2015 21:04:06 +0000 (14:04 -0700)]
loader: Create a VkPhysicalDevice object rather than using ICDs
This allows loader to keep some data with PhysicalDevice object needed for
looking up things.
Allows removal of loader_get_icd() which aliased VkPhysicalDevices erroneously.
Also allows removal of the fixed size array of device extensions.
Mark Lobodzinski [Tue, 3 Nov 2015 16:26:25 +0000 (09:26 -0700)]
layers: Remove resetting of result value in DrawState
Tobin Ehlis [Mon, 2 Nov 2015 22:45:19 +0000 (15:45 -0700)]
layers: Windows define fixes
On windows WinBase.h redefines CreateSemaphore and synchapi.h redefines CreateEvent. Depending on order or header includes, this can break the build due to VkLayerDispatchTable struct having CreateSemaphore and CreateEvent members. To fix this conflict, undef those symbols after including windows.h.
Courtney Goeltzenleuchter [Tue, 3 Nov 2015 00:43:04 +0000 (17:43 -0700)]
loader: Fix Windows build
Chia-I Wu [Tue, 27 Oct 2015 11:55:29 +0000 (19:55 +0800)]
v199: bug 15018: Name all anonymous structs and enums (WIP)
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15018
Chia-I Wu [Tue, 27 Oct 2015 11:55:05 +0000 (19:55 +0800)]
bug 15000: aspect/aspectMask inconsistencies (WIP)
Rename all aspect to aspectMask.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15000
Chia-I Wu [Tue, 27 Oct 2015 11:54:37 +0000 (19:54 +0800)]
bug 14965: Merge VK_MEMORY_INPUT/OUTPUT flags to better express write-after-wite hazards (WIP)
s/VkMemoryOutputFlags/VkAccessFlags/g
s/VkMemoryInputFlags/VkAccessFlags/g
s/outputMask/srcAccessMask/g
s/inputMask/dstAccessMask/g
s/VK_MEMORY_OUTPUT_HOST_WRITE_BIT/VK_ACCESS_HOST_WRITE_BIT/g
s/VK_MEMORY_OUTPUT_SHADER_WRITE_BIT/VK_ACCESS_SHADER_WRITE_BIT/g
s/VK_MEMORY_OUTPUT_COLOR_ATTACHMENT_BIT/VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT/g
s/VK_MEMORY_OUTPUT_DEPTH_STENCIL_ATTACHMENT_BIT/VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT/g
s/VK_MEMORY_OUTPUT_TRANSFER_BIT/VK_ACCESS_TRANSFER_WRITE_BIT/g
s/VK_MEMORY_INPUT_HOST_READ_BIT/VK_ACCESS_HOST_READ_BIT/g
s/VK_MEMORY_INPUT_INDIRECT_COMMAND_BIT/VK_ACCESS_INDIRECT_COMMAND_READ_BIT/g
s/VK_MEMORY_INPUT_INDEX_FETCH_BIT/VK_ACCESS_INDEX_READ_BIT/g
s/VK_MEMORY_INPUT_VERTEX_ATTRIBUTE_FETCH_BIT/VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT/g
s/VK_MEMORY_INPUT_UNIFORM_READ_BIT/VK_ACCESS_UNIFORM_READ_BIT/g
s/VK_MEMORY_INPUT_SHADER_READ_BIT/VK_ACCESS_SHADER_READ_BIT/g
s/VK_MEMORY_INPUT_COLOR_ATTACHMENT_BIT/VK_ACCESS_COLOR_ATTACHMENT_READ_BIT/g
s/VK_MEMORY_INPUT_DEPTH_STENCIL_ATTACHMENT_BIT/VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT/g
s/VK_MEMORY_INPUT_INPUT_ATTACHMENT_BIT/VK_ACCESS_INPUT_ATTACHMENT_READ_BIT/g
s/VK_MEMORY_INPUT_TRANSFER_BIT/VK_ACCESS_MEMORY_READ_BIT/g
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14965
Chia-I Wu [Mon, 26 Oct 2015 08:48:28 +0000 (16:48 +0800)]
v198: bump API minor version
Chia-I Wu [Tue, 27 Oct 2015 11:00:15 +0000 (19:00 +0800)]
bug 14918 part 4: more cleanups (WIP)
Chia-I Wu [Tue, 27 Oct 2015 11:25:11 +0000 (19:25 +0800)]
bug 14918 part 3: sed renames
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
Chia-I Wu [Tue, 27 Oct 2015 10:59:16 +0000 (18:59 +0800)]
bug 14921 part 3: typos
Nothing to do.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14921
Chia-I Wu [Tue, 27 Oct 2015 10:58:24 +0000 (18:58 +0800)]
bug 14968: Limitations of transfer operations on DMA queues (WIP)
Add minImageTransferGranularity.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14968
Chia-I Wu [Tue, 27 Oct 2015 10:58:00 +0000 (18:58 +0800)]
bug 14940: Capitalization of Abbreviations/Acryonyms (WIP)
s/shaderResourceMinLOD/shaderResourceMinLod/g
s/vendorId/vendorID/g
s/deviceId/deviceID/g
s/imageMipTailStartLOD/imageMipTailStartLod/g
s/constantId/constantID/g
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14940
Chia-I Wu [Mon, 26 Oct 2015 08:48:28 +0000 (16:48 +0800)]
v197: bump API minor version
Chia-I Wu [Tue, 27 Oct 2015 10:53:22 +0000 (18:53 +0800)]
bug 14922: Consistent memory properties (WIP)
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14922
Chia-I Wu [Tue, 27 Oct 2015 10:52:46 +0000 (18:52 +0800)]
bug 14936: Sparse questions/issues (WIP)
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14936
Chia-I Wu [Tue, 27 Oct 2015 10:52:05 +0000 (18:52 +0800)]
bug 14570: Which formats are supported for image loads and stores? (WIP)
New features and update vulkaninfo.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14570
Chia-I Wu [Tue, 27 Oct 2015 09:53:18 +0000 (17:53 +0800)]
v196: bug 14921 part 2: Expanding abbreviations for consistency (WIP)
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14921
Chia-I Wu [Tue, 27 Oct 2015 10:04:07 +0000 (18:04 +0800)]
bug 14921 part 1: sed renames
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
Chia-I Wu [Tue, 27 Oct 2015 09:50:57 +0000 (17:50 +0800)]
v195: bug 14932: Pipeline Cache clarifications needed (WIP)
Remove maxSize.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14932
Chia-I Wu [Mon, 26 Oct 2015 08:48:28 +0000 (16:48 +0800)]
v194: bump API minor version
Chia-I Wu [Mon, 26 Oct 2015 09:32:47 +0000 (17:32 +0800)]
MR 542: Remaining items from the cleanup bug (WIP)
depthStencilAttachment is replaced by pDepthStencilAttachment.
s/VK_CULL_MODE_FRONT\b/VK_CULL_MODE_FRONT_BIT/g
s/VK_CULL_MODE_BACK\b/VK_CULL_MODE_BACK_BIT/g
s/VK_SAMPLER_ADDRESS_MODE_WRAP\b/VK_SAMPLER_ADDRESS_MODE_REPEAT/g
s/VK_SAMPLER_ADDRESS_MODE_MIRROR\b/VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT/g
s/VK_SAMPLER_ADDRESS_MODE_CLAMP\b/VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE/g
s/VK_SAMPLER_ADDRESS_MODE_MIRROR_ONCE\b/VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE/g
s/VK_SAMPLER_ADDRESS_MODE_CLAMP_BORDER\b/VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER/g
https://gitlab.khronos.org/vulkan/vulkan/merge_requests/542
Chia-I Wu [Mon, 26 Oct 2015 08:48:28 +0000 (16:48 +0800)]
v193: bump API minor version
Chia-I Wu [Mon, 26 Oct 2015 09:24:52 +0000 (17:24 +0800)]
bug 14918 part 2: some simple renames (WIP)
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
Chia-I Wu [Mon, 26 Oct 2015 09:20:32 +0000 (17:20 +0800)]
bug 14892 part 2: rename more "count" (WIP)
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14892
Chia-I Wu [Mon, 26 Oct 2015 09:18:26 +0000 (17:18 +0800)]
bug 14778: VK_IMAGE_VIEW_CREATE_READ_ONLY_DEPTH_BIT underspecified (WIP)
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14778
Chia-I Wu [Mon, 26 Oct 2015 08:48:28 +0000 (16:48 +0800)]
v192: bump API minor version
Chia-I Wu [Mon, 26 Oct 2015 09:08:33 +0000 (17:08 +0800)]
bug 14918 part1: consistency/cleanup ideas (from jbolz/pdaniell/dkoch) (WIP)
Change alignment types and replace byRegion by VkDependencyFlags.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14918
Chia-I Wu [Mon, 26 Oct 2015 09:04:32 +0000 (17:04 +0800)]
v191: bug 14574: Capability bit for stores from non-fragment/compute shaders (WIP)
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14574
Chia-I Wu [Mon, 26 Oct 2015 08:48:28 +0000 (16:48 +0800)]
v190: bump API minor version
Chia-I Wu [Mon, 26 Oct 2015 09:00:46 +0000 (17:00 +0800)]
bug 14641: VkXXXCreateFlags are not consistently used for the various VkXXXCreateInfo (WIP)
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14641
Chia-I Wu [Mon, 26 Oct 2015 08:55:27 +0000 (16:55 +0800)]
bug 14848: Verifying Sparse Behavior (WIP)
Merge vkQueueBindSparse*() to one.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14848
Chia-I Wu [Mon, 26 Oct 2015 08:48:28 +0000 (16:48 +0800)]
v189: bump API minor version
Chia-I Wu [Mon, 26 Oct 2015 08:49:32 +0000 (16:49 +0800)]
bug 14543: rename VkTex* enums to VkTexture* similarly for VK_TEX_* to 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
Chia-I Wu [Mon, 26 Oct 2015 08:48:28 +0000 (16:48 +0800)]
v188: bump API minor version
Chia-I Wu [Mon, 26 Oct 2015 08:47:26 +0000 (16:47 +0800)]
bug 14914: Should strictLines be a feature or a limit (WIP)
A limit.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14914
Chia-I Wu [Mon, 26 Oct 2015 13:10:41 +0000 (21:10 +0800)]
bug 12921: Memory callback (WIP)
The per-object allocator is ignored for now.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=12921
Chia-I Wu [Mon, 26 Oct 2015 12:48:51 +0000 (20:48 +0800)]
bug 14892: 'count' parameters and members named inconsistently in many cases (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
Chia-I Wu [Mon, 26 Oct 2015 12:46:14 +0000 (20:46 +0800)]
bug 14909: Define "length" as it relates to push constants be in units of bytes not words (WIP)
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14909
Chia-I Wu [Mon, 26 Oct 2015 12:42:12 +0000 (20:42 +0800)]
bug 14905: Reserve VkStructureType values for loader/layer bootstrapping (WIP)
Fix vk_helper.py to ignore them.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14905
Chia-I Wu [Mon, 26 Oct 2015 12:03:07 +0000 (20:03 +0800)]
v187: bump API minor version
Chia-I Wu [Mon, 26 Oct 2015 12:40:02 +0000 (20:40 +0800)]
bug 14630: Issues with regard to primitive restart index (WIP)
Remove primitiveRestartForPatches.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14630
Chia-I Wu [Mon, 26 Oct 2015 12:37:06 +0000 (20:37 +0800)]
bug 14857: Adding extensibility to VkSubmitInfo (WIP)
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14857
Tobin Ehlis [Mon, 2 Nov 2015 20:13:21 +0000 (13:13 -0700)]
Merge branch 'master' of gitlab.khronos.org:vulkan/LoaderAndTools
Tobin Ehlis [Mon, 2 Nov 2015 20:12:18 +0000 (13:12 -0700)]
layers: Fix Swapchain include dependency for Windows build break
Tony Barbour [Mon, 2 Nov 2015 18:47:51 +0000 (11:47 -0700)]
demos: Initialize all of subresource fields
Tony Barbour [Mon, 2 Nov 2015 18:46:29 +0000 (11:46 -0700)]
layers: Use descriptor type to decide which pointer to free
Tobin Ehlis [Thu, 29 Oct 2015 20:19:18 +0000 (14:19 -0600)]
layers: Migrate Image dispatch tables into layer_data struct
Tobin Ehlis [Thu, 29 Oct 2015 18:58:13 +0000 (12:58 -0600)]
layers: Migrate Swapchain dispatch tables and global data into layer_data struct
Tobin Ehlis [Thu, 29 Oct 2015 17:11:53 +0000 (11:11 -0600)]
layers: Migrate ShaderChecker dispatch tables and global data into layer_data struct
Tobin Ehlis [Thu, 29 Oct 2015 15:55:19 +0000 (09:55 -0600)]
layers: Remove mid/mdd functions from MemTracker
Tobin Ehlis [Thu, 29 Oct 2015 15:03:52 +0000 (09:03 -0600)]
layers: Migrating MemTracker global data into layer_data struct
Tobin Ehlis [Wed, 28 Oct 2015 22:25:11 +0000 (16:25 -0600)]
layers: Add dispatch tables into MemTracker layer_data struct
Mike Stroyan [Fri, 30 Oct 2015 21:30:13 +0000 (15:30 -0600)]
ubuntu 15.10 directions for intel DRI3
Chia-I Wu [Mon, 26 Oct 2015 12:03:07 +0000 (20:03 +0800)]
v186: bump API minor version
Chia-I Wu [Mon, 26 Oct 2015 12:33:12 +0000 (20:33 +0800)]
bug 14567: What is VK_QUEUE_EXTENDED_BIT? (WIP)
Removed.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14567
Chia-I Wu [Mon, 26 Oct 2015 12:14:54 +0000 (20:14 +0800)]
bug 14876: Can timestamps be written inside a renderpass? (WIP)
Timestamps are written to a query pool.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14876
Chia-I Wu [Mon, 26 Oct 2015 12:04:44 +0000 (20:04 +0800)]
bug 14362: VK_NULL_HANDLE does not work in C (WIP)
Drop type safety on 32-bit.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14362
Chia-I Wu [Mon, 26 Oct 2015 12:03:07 +0000 (20:03 +0800)]
v185: bump API minor version
Chia-I Wu [Mon, 26 Oct 2015 11:52:46 +0000 (19:52 +0800)]
bug 14864: Remove redundant VkPipelineShaderStageCreateInfo.stage field? (WIP)
Removed.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14864
Chia-I Wu [Mon, 26 Oct 2015 11:48:03 +0000 (19:48 +0800)]
MR 461: Documented updated vkQueueSubmit and remove wait + signal semaphore operations on queues. (WIP)
https://gitlab.khronos.org/vulkan/vulkan/merge_requests/461
Chia-I Wu [Thu, 29 Oct 2015 14:01:53 +0000 (22:01 +0800)]
support and use VkSubmitInfo semaphore signaling and waiting
Chia-I Wu [Mon, 26 Oct 2015 11:40:27 +0000 (19:40 +0800)]
bug 14868: Replace VkTimestampType with VkPipelineStageFlagBits (WIP)
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14868
Chia-I Wu [Mon, 26 Oct 2015 11:28:45 +0000 (19:28 +0800)]
v184: bug 14719: vkCmdCopyBufferToImage alignment requirements (WIP)
Update vulkaninfo to print new limits.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14719
Chia-I Wu [Mon, 26 Oct 2015 11:27:21 +0000 (19:27 +0800)]
bug 14822: timestampFrequency underspecified (WIP)
Replaced by timestampPeriod, number of nanoseconds per tick.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14822
Chia-I Wu [Mon, 26 Oct 2015 11:26:04 +0000 (19:26 +0800)]
bug 14725: Remove or replace VK_SPARSE_MEMORY_BIND_REPLICATE_64KIB_BLOCK_BIT (WIP)
Renamed.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14725
Chia-I Wu [Mon, 26 Oct 2015 11:22:06 +0000 (19:22 +0800)]
bug 14462: endianness of code for shader modules (WIP)
Change the type of pCode to uint32_t*.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14462
Chia-I Wu [Mon, 26 Oct 2015 11:17:06 +0000 (19:17 +0800)]
bug 14855: vkGetPipelineCacheSize is unique (consistency issue) (WIP)
Update vkGetPipelineCacheData() to replace vkGetPipelineCacheSize().
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14855
Chia-I Wu [Mon, 26 Oct 2015 11:16:06 +0000 (19:16 +0800)]
bug 14861: rasterization review issues (WIP)
Update vulkaninfo to print features->strictLines.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14861
Chia-I Wu [Mon, 26 Oct 2015 11:08:09 +0000 (19:08 +0800)]
bug 14365: Rename slopeScaledDepthBias to depthBiasSlopeScaled (WIP)
s/slopeScaledDepthBias/depthBiasSlopeFactor/g
s/depthBias\b/depthBiasConstantFactor/g
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14365
Chia-I Wu [Mon, 26 Oct 2015 10:36:20 +0000 (18:36 +0800)]
bug 14844: Query Pool issues (WIP)
We did not and still do not honor the stride nor flags.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14844
Chia-I Wu [Mon, 26 Oct 2015 10:50:46 +0000 (18:50 +0800)]
vulkan.py: use generated "core" API
The parsed vkCmdSetBlendConstants prototype makes a difference to vktrace.
But vktrace should handle it just fine.
Chia-I Wu [Mon, 26 Oct 2015 10:48:24 +0000 (18:48 +0800)]
vulkan.py: fix vulkan.h parsing
Ignore PFN_vkVoidFunction typedef. Fix layer dispatch table output.
Mark Lobodzinski [Thu, 29 Oct 2015 21:45:27 +0000 (15:45 -0600)]
layers: Fix MemTracker uninitialized variables
Caused issues in SDK tests on Windows
Mark Lobodzinski [Thu, 29 Oct 2015 20:23:47 +0000 (14:23 -0600)]
demos: Properly destroy command pool in cube demo
Mark Lobodzinski [Thu, 29 Oct 2015 18:58:33 +0000 (12:58 -0600)]
layers: Add DestroyImage to image layer's device GPA table
jon [Thu, 29 Oct 2015 21:51:28 +0000 (15:51 -0600)]
loader: Update Linux and Windows ICD/layer discover documentation
jon [Thu, 29 Oct 2015 21:17:52 +0000 (15:17 -0600)]
loader: Update linux documentation on where ICD lives.
jon [Thu, 29 Oct 2015 20:57:03 +0000 (14:57 -0600)]
loader: Move utility function so it is found on both Linux and Windows
Daniel Dadap [Wed, 30 Sep 2015 17:09:49 +0000 (12:09 -0500)]
loader: set DEFAULT_VK_{DRIVER,LAYER}S_PATH to "" on Linux
When loader_get_fullpath() gets an empty string as the 'dir' parameter,
it immediately writes out the original, unexpanded filename. Setting
the default drivers and layers paths to an empty string on Linux will
allow the unmodified filenames to be passed to dlopen(3) without having
to maintain a separate code path for Windows.
Now that there is no longer a default path for drivers or layers on
Linux, ${CMAKE_INSTALL_LIBDIR} no longer needs to be baked into the
loader binary. Note that any ICDs or layers that are currently getting
installed to the previous default paths (e.g. /usr/lib/vulkan/icd or
/usr/lib/vulkanlayer) will not be discoverable when specified as plain
filenames, unless these directories happen to be configured in the
loader's search path on the system in question.
Daniel Dadap [Wed, 30 Sep 2015 16:50:51 +0000 (11:50 -0500)]
loader: add helper for combining paths
Add a helper function to combine an arbitrary number of path elements,
separating them with the platform-specific directory separator, and
use it in places where path combining is currently achieved through
direct string manipulation.
As an additional cleanup, update loader_get_fullpath() to duplicate
the search path string internally, rather than relying on the caller
to do so. Since loader_get_fullpath() and loader_expand_path() no
longer modify input strings, and loader_expand_path() no longer
requires that the caller append the DIRECTORY_SYMBOL ahead of time,
acrobatics to duplicate strings to prevent modification and/or to add
directory separators are no longer necessary.
This change will result a behavior change on Windows: the existing
logic for loading an ICD that is specified as a bare filename, and
not as an absolute or relative path, is to search for a driver with
the given ICD name in the DEFAULT_VK_DRIVERS_PATH search path on
Linux, and to use the given ICD name as-is on Windows. This could
lead to DLL injection attack on Windows. Merge the Linux/Windows
behavior to limit the search for ICD filenames to the default search
path on Windows as well, which is also more consistent with the
behavior described in the loader spec.
Conflicts:
loader/loader.c
Mike Stroyan [Wed, 28 Oct 2015 17:15:46 +0000 (11:15 -0600)]
demos: fclose in cube and tri
Balance every fopen with fclose.
Mike Stroyan [Wed, 28 Oct 2015 15:46:57 +0000 (09:46 -0600)]
demos: windows fixes for cube and tri resize
Defer resize until after first prepare.
Record new window size from WM_SIZE.
Leave demo->swapchain.handle valid to pass to CreateSwapchainKHR.
Mike Stroyan [Thu, 15 Oct 2015 14:42:32 +0000 (08:42 -0600)]
Layers: MemTracker check vkCmdCopyQueryPoolResults
MemTracker check of buffer memory and usage flags in vkCmdCopyQueryPoolResults
Mike Stroyan [Thu, 15 Oct 2015 14:30:18 +0000 (08:30 -0600)]
demos: add occlusion features to vulkaninfo
Add reporting of VkPhysicalDeviceFeatures occlusionQueryNonConservative to vulkaninfo.
Johannes van Waveren [Wed, 28 Oct 2015 16:45:00 +0000 (11:45 -0500)]
use conditional compilation based on _WIN32 instead of WIN32 and __linux__
Jason Ekstrand [Fri, 16 Oct 2015 00:15:25 +0000 (17:15 -0700)]
demos/cube: Provide a non-null VertexInputStateCreateInfo
In the spec for VkGraphicsPipelineCreateInfo, some structs are explicitly
listed as being able to be NULL if they are not used.
VertexInputStateCreateInfo is not one of them.
Jason Ekstrand [Fri, 16 Oct 2015 00:16:32 +0000 (17:16 -0700)]
demos/cube: Explicitly specify std140 layout on UBOs
Without this, glslang won't actually provide the offsets and strides
required by SPIR-V.
Mark Lobodzinski [Tue, 27 Oct 2015 15:53:00 +0000 (09:53 -0600)]
layers: Validate buffer view usage flags
Jeremy Hayes [Wed, 28 Oct 2015 19:01:39 +0000 (13:01 -0600)]
layers: Validate number of layers in subresource.
Reviewed by Tobin.