aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-07-31loader: Fix bug in Windows for mod a static string DEFAULT_VK_LAYERS_INFOJon Ashburn
2015-07-31loader: fix typo in log messageJon Ashburn
2015-07-30cube: We reuse cmd bufs, so dont do one_time flagCourtney Goeltzenleuchter
2015-07-29bug-14352: Update vulkan.h versionCourtney Goeltzenleuchter
2015-07-29bug-14352: Missing size parameter in VkSparseMemoryBindInfoCourtney Goeltzenleuchter
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14352
2015-07-29demos: Add dependency for SPIRV shader componentsCourtney Goeltzenleuchter
Occasional saw issues with parallel make because dependency was not specified for the shader SPIRV components used by tri and cube.
2015-07-29bug-14330: Initialize handle on Vulkan objectsCourtney Goeltzenleuchter
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14330 Accepted in gl_common 7/27
2015-07-29layers: Add validation case for mismatched renderpass attachements and subpassesMark Lobodzinski
Added to the Image validation layer.
2015-07-29WSI: Initialize WSI entry pointsCourtney Goeltzenleuchter
Had missed initializing some WSI function pointers for the device dispatch table.
2015-07-29vulkan: Add vkCmdPushConstants entry pointCourtney Goeltzenleuchter
This patch fixes LunarXchange issue #84. Also adds corresponding stub entry point to the Intel sample driver.
2015-07-29intel: Add support for GetRenderAreaGranularityCourtney Goeltzenleuchter
2015-07-27tri/cube: Correct WSI swapChainPresentMode fallback is FIFO.Ian Elliott
A copy and paste error from the spec made it seem that all ICDs will support VK_PRESENT_MODE_IMMEDIATE_WSI (a.k.a. "immediate"). That's not true. They all need to support VK_PRESENT_MODE_FIFO_WSI. Changed the comment and code so that the preference of these demos is: 1) VK_PRESENT_MODE_MAILBOX_WSI 2) VK_PRESENT_MODE_IMMEDIATE_WSI 3) VK_PRESENT_MODE_FIFO_WSI
2015-07-27layers: Adjust SC to validate bulk pipeline creationChris Forbes
Previously we passed `count` down to the validator and then dropped it on the floor, ignoring anything other than pipeline 0. Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Courtney Goeltzenleuchter <courtney@lunarg.com>
2015-07-24Further layer search path fix: s/implicit/explictJames Jones
A cut+paste error resulted in using the same value for the explicit and implicit layer config paths. This change remedies that. Signed-off-by: James Jones <jajones@nvidia.com>
2015-07-24Added ICD loading path debug messagesLiam Middlebrook
Reviewed-by: James Jones <jajones@nvidia.com>
2015-07-24Fix loader paths for "etc" directories.James Jones
The previous libdir/confdir patches mistakenly used /usr/etc rather than /etc as the default location for configuration files. This patch corrects that mistake. Signed-off-by: James Jones <jajones@nvidia.com> Tested-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
2015-07-24linux: Fix standard GNU path usageJames Jones
The previous attempt at using GNU standard paths limited searching to the prefix where the loader was installed. What we really want though is to always search in /usr, also search in whatever local prefix the user installed at if it wasn't /usr, and use the standard GNU libdir, sysconfdir, and datadir under those prefixes. This change implements that behavior. Signed-off-by: James Jones <jajones@nvidia.com> Tested-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
2015-07-24linux: Use standard GNU install pathsAdam Jackson
These should get inherited from the build environment, which should handle the variation between /usr/lib/$triple on debian vs /usr/lib{,64} on redhat. Signed-off-by: Adam Jackson <ajax@redhat.com>
2015-07-24Revert "vulkan: Updated LICENSE.txt with all known license information"Courtney Goeltzenleuchter
This reverts commit 3d2dc08ed28b159f1d86476add4719b3ec975b1b. Just adding attributiones here does not match our SDK and loader redistributable plans. Will add attributions to specific areas rather than a global attribution file.
2015-07-24Windows nulldrv: Add stub for vkGetPhysicalDeviceImageFormatPropertiesDavid Pinedo
2015-07-24loader: Only check 32-bits for magic valueCourtney Goeltzenleuchter
The loaderMagic grew to be 64-bits to look better but need to mask it to 32bits for the validation check.
2015-07-24loader: Update the Linux and Windows manifest file documentation to match khrJon Ashburn
2015-07-24loader: Change VK_LAYERS_FOLDERS to VK_LAYER_FOLDERS to match documentationJon Ashburn
This effects Windows layers.
2015-07-24loader: Add missing entrypoints CmdPushConstants, GetRenderArea, GetPDImgFormatJon Ashburn
Also fix several other missing entrypoints from dispatch table related functions. Also reorder some of these functions to better match header list order so can more easily spot missing entry points.
2015-07-24misc: Add vkGetPhysicalDeviceImageFormatProperties as a stubJon Ashburn
2015-07-23layers: eliminate Windows compiler warningCourtney Goeltzenleuchter
2015-07-23Fix win32 buildDan Ginsburg
2015-07-23compiler: upgrade to latest glslang and LunarGLASS for bug fixesGregF
2015-07-23layers: update README.mdJon Ashburn
2015-07-23loader: have loader_magic be uintptr_tCourtney Goeltzenleuchter
Twice we've have feedback on this structure not being correct - folks missed the union statment - so changing this to be the same size as a pointer to make it more clear that loaderMagic is the same size as *loaderData.
2015-07-23cube: Add support for debug breakCourtney Goeltzenleuchter
When cube sees --break on the command line it will install the DebugBreak helper callback for layer validation errors and warnings.
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-23loader: Do not include dbg helpers in dispatchCourtney Goeltzenleuchter
The DEBUG_REPORT callback helpers do not need to be included in the dispatch table as they are not API entrypoints. They are functions specifically and only for DEBUG_REPORT DbgCreateMsgCallback.
2015-07-22loader_log: add OutputDebugString("\n");mschott
2015-07-22loader: Fix ICD and layer directory scan order on LinuxAdam Jackson
The convention is to scan /etc for host-specific settings before looking in /usr/share, which may be a shared network filesystem. Signed-off-by: Adam Jackson <ajax@redhat.com>
2015-07-22demos: Add more validation layers and fix errors/warningsTony Barbour
2015-07-22layers: objtrack has to call destroy in FreeDescriptorSetsTony Barbour
2015-07-22headers: Updated debug object-to-string fcn with missing object typesMark Lobodzinski
In vk_debug_report_lunarg.h
2015-07-22layers: Add destroy_obj calls for ObjectTrackerMark Lobodzinski
This eliminates a ton of bad destroy messages, also removes check for leftover instances when device is destroyed.
2015-07-17layers: Only verify data ptr not report_dataCourtney Goeltzenleuchter
report_data is only defined if DEBUG_REPORT is enabled, so asserting that it must be non-null prevents things from running for no reason.
2015-07-17nulldrv: Link with -Bsymbolic so vkGetDeviceProcAddress behavesAdam Jackson
2015-07-17cmake: Specify -std=c++11Adam Jackson
gcc 5.1 will complain (and refuse to compile) if you use 'auto' in the C++11 sense but haven't asked for C++11.
2015-07-17cmake: Don't check for installed glm, it's in-treeAdam Jackson
2015-07-17Minor SDK-0.2 fixes for "tri"Piers Daniell
Changes to "tri" are similar to the fixes for "cube": 1) WSI function were being called with an uninitialized pPlatformWindow. Fixed by splitting demo_init_vk into two functions. 2) VkAttachmentViewCreateInfo.format wasn't being set. 3) VkShaderCreateInfo.pName wasn't being set. 4) demo->cmdPool was being leaked.
2015-07-17cube: Fill in pPlatformWindow after you have a windowCourtney Goeltzenleuchter
demo_init_vk(), which sets the surface_description.pPlatformWindow was getting called before the window was created so surface_description.pPlatformWindow was always NULL. I added a new demo_init_vk_wsi() which splits demo_init_vk() in two so that the window is created before surface_description.pPlatformWindow is assigned.
2015-07-17cube: set VkAttachmentViewCreateInfo.formatCourtney Goeltzenleuchter
2015-07-17cube: Keep track of queue_count in demo structureCourtney Goeltzenleuchter
Need to know the number of queues in multiple places so just save it as part of the demo info data structure.
2015-07-17loader: Switch to using layer manifest file info for layer extension infoJon Ashburn
Remove the direct queries for the layer extensions and properties.
2015-07-17layers: In DrawState correctly return rasterSamples count for PSOTobin Ehlis
2015-07-17vulkan: Updated LICENSE.txt with all known license informationMark Lobodzinski