aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-08loader: Support GetInsTanceProcAddr(inst, "vkGetDeviceProcAddr")Jon Ashburn
2015-10-08layers: Suppress error messages for undestroyed descriptorSetsMark Lobodzinski
DescriptorSets are not explicitly destroyed. ObjectTracker will need to be extended to handle these types of cases.
2015-10-08demos: Remove swapchain workaround code and don't assume 2 buffersTony Barbour
Addresses Lunar Exchange issue 153
2015-10-08demos: Change WSI references to swapchainTony Barbour
Addresses Lunar Exchange issue 147
2015-10-08demos: Animate tri via z-clippingTony Barbour
To address Lunar Exchange issue 146. We still test/demo z-clipping while displaying all of the triangle, at least some of the time.
2015-10-08layers: Add DrawState check to flag error on vkFreeDescriptorSets from ↵Tobin Ehlis
ONE_SHOT Pool Also added a layer validation test to flag this error
2015-10-08demos/tests: Stop calling vkFreeDescriptorSets on pools with usage ONE_SHOTCody Northrop
2015-10-08WSI Validation: Ported better logging approach from generic layer.Ian Elliott
2015-10-08WSI Validation: Move some things between .h and .cpp files.Ian Elliott
This will more-closely mirror what's being done in the generic layer, which was the original source of this layer.
2015-10-08intel,layers,tests: move cmd_meta errors to validationMike Stroyan
Add checks for alignment in DeviceLimits layer. Add checks for type, format and sample count in Images layer. Remove such checks from intel icd. Add new validations to layer_validation_tests.
2015-10-08Only check LogicOp if it is enabled.Michael Lentine
2015-10-08layers: Migrate DrawState global data structs to layer_data structTobin Ehlis
DrawState maps are all now stored per-device and per-instance. Also fixed a bug where renderPassMap ptrs were not being cleaned up.
2015-10-08layers: DrawState migrate device and instance dispatch tables into layer ↵Tobin Ehlis
data struct This is first part of cleaning up DrawState. Need to migrate its global maps into the layer data struct as well so they are per device/instance and then single map look-up with get both layer data and dispatch tables.
2015-10-08layers: In DeviceLimits move dispatch table to layer data structTobin Ehlis
All instance dispatch calls are made via instance_dispatch_table in layer data struct. All device dispatch calls are made via device_dispatch_table in the layer data struct. This saves map look-ups as a single call can be made to get the per device/instance layer data, including the dispatch table.
2015-10-08update_external_sources: Fix svn LunarGLASS checkout for LinuxCody Northrop
Don't checkout HEAD or rolling back one commit will delete files.
2015-10-08misc: do not need pull if using git checkoutCourtney Goeltzenleuchter
Also remove unused R32 variable and file now that we can get latest glslang from git.
2015-10-07layers: Remove obsolete dbg message logging headerJon Ashburn
2015-10-07layers: Add support for debug_report extension in generic layerJon Ashburn
Now Generic layer is better example of a validation layer
2015-10-07loader: Fix comile warning on WindowJon Ashburn
2015-10-06loader, icd: correct use of _aligned_mallocMike Stroyan
Memory allocated with _aligned_malloc on WIN32 should be released with _aligned_free. If icd/common/icd-instance is ever used on WIN32 it will now use _aligned_free. loader_aligned_heap_alloc and loader_aligned_alloc would require additional matching loader_aligned*_free functions to be correct for WIN32. But both functions are never used. Just remove those functions for now.
2015-10-06layers: Remove dead code from MemTrackerMark Lobodzinski
2015-10-06layers: Fix DeviceLimits error return codesMark Lobodzinski
2015-10-06layers: Add validation for Image Aspect settingsMark Lobodzinski
Image layer gets validation for image aspect settings laid out in the spec.
2015-10-06loader: match free to alloc in dirent functionsMike Stroyan
closedir was using plain free instead of loader_tls_heap_free.
2015-10-06layers: LunarXchange #145: Fix windows printf format errorsMark Lobodzinski
Windows hates %zu. Changed to %lu and cast size_t to unsigned long.
2015-10-05loader: Fix GetInstanceProcAddr for CreateDeviceJon Ashburn
2015-10-05Demos: increase console buffer size for vulkaninfoDavid Pinedo
2015-10-05loader: Add warning message for unreconized layer names from env varJon Ashburn
2015-10-02update_external_sources: get glslang from gitlabGreg Fischer
This is the new way to get the tools for private SPIR-V rev32
2015-10-02update_external_sources: get glslang from gitlabGregF
This is the new way to get SPIR-V rev32 source.
2015-10-02Only check blend state if blend is enabled.Michael Lentine
2015-10-02Add basic validation for the shader module.Michael Lentine
2015-10-02layers: Add DrawState checks for dynamically set Viewport and ScissorsTobin Ehlis
Make sure that counts from dynamically set viewport and/or scissors match the PSO counts. Added tests to verify these cases.
2015-10-02layers: Drawstate verify viewport and scissor state at PSO creation timeTobin Ehlis
Make sure that viewportCount and scissorCount match If viewport is not dynamic, make sure viewport state is supplied and if viewportCount is non-zero, that viewport data is non-NULL. If scissor is not dynamic, make sure scissor state is supplied and if scissorCount is non-zero, that scissor data is non-NULL. Added tests to hit these new cases.
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-01layers: Validation -- updated layer validation doc fileMark Lobodzinski
Corrected validation layer error code.
2015-10-01loader: fix use of freed memoryMike Stroyan
vkEnumerateInstanceExtensionProperties was using freed memory. Avoid free of NULL pointers.
2015-10-01layers: Updated README.md and details docTobin Ehlis
README.md was woefully out of date so this is a big improvement, but still more work to be done. May want to merge this doc with details doc in the future as they cover similar ground.
2015-10-01Build doc: Correction to the cmake command to be used for windowsDavid Pinedo
2015-10-01vulkaninfo demo: Reduce the size of the console window so it fits on smaller ↵David Pinedo
screens
2015-10-01sdk: Update release notes for 0.9 SDKCourtney Goeltzenleuchter
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-10-01layers: Validate draw commands appropriately inside/outside render passMark Lobodzinski
Updated DrawState layer and validation tests to check that all draw commands are correctly called inside or outside (or either) of an active render pass.
2015-10-01layers: Fix DrawState to correctly handle dynamic state from PSO and CmdSet* ↵Tobin Ehlis
calls Track which dynamic states are set via PSO and merge that with dynamic state set by CmdSet* cmds. Updated viewport not set test to pass when scissor is flagged as missing. Currently scissor and viewport set together so scissor error masks viewport error.
2015-10-01layers: DrawState allows callback to set fail on DescriptorType mismatchTobin Ehlis
If the update DescriptorType does not match the layout DescriptorType, DrawState would previously bail automatically. This update flags the error and will only bail if the callback return code is VK_TRUE, like with all other validation errors.
2015-10-01Merge branch 'mlentine_layers4' into 'master'Tobin Ehlis
Make reseting an unsignaled fence a warning. See merge request !38
2015-09-30Set dynamic pipeline state as dynamicPiers Daniell
2015-09-30Make reseting an unsignaled fence a warning.Michael Lentine
2015-09-30loader: Change GetXXProcAddr to support NULL dispatchable objectJon Ashburn
Also change GetInstanceProcAddr to return the first entry down the chain rather than global (trampoline entrys) all the time when a non-null instance is passed.
2015-09-30layers: DrawState handles dynamic state set via PSOTobin Ehlis
For dynamic states flagged in PSO, consider them set at draw time. Clarify various dynamic state error messages to make them more consistent with updated dynamic state API. Add test for scissor not bound.