aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-12-24loader: Fix typo in CreateDevice so ICDs see filtered device extension listJon Ashburn
2015-12-24layers: Add basic implicit layer JSON file as an example implicit layerJon Ashburn
2015-12-23Demos: Fix name of MemTrack layer in tri.c demoDavid Pinedo
2015-12-23Fix Android layers buildJesse Hall
Conflicts: include/vulkan/vk_lunarg_debug_report.h
2015-12-22loader: Properly filter ICD extensionsCourtney Goeltzenleuchter
As of NVIDIA driver 355.00.19, the ICD's CreateInstance checks for invalid extension names and it turns out the loader was passing on DEBUG_REPORT when it should have been filtered out. This change re-constructs the ICD's extension list to do that filtering.
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-18Bug 15314: Make clear for layers that the registry value must be 0.Ian Elliott
2015-12-17loader: Add support for implicit layersJon Ashburn
2015-12-17layers: Remove vkCmdExecuteCommands checks that don't match specTony Barbour
2015-12-17loader: Fix erroneous call to loader_log previously addedJon Ashburn
2015-12-17layers: bump debug_report version numberJon Ashburn
2015-12-17tri: remove unneeded castCourtney Goeltzenleuchter
2015-12-17loader: Fix compile error from rebaseJon Ashburn
2015-12-17loader: Fix comment leader on def filesCourtney Goeltzenleuchter
2015-12-17layers: clean up mismatched sign warningsCourtney Goeltzenleuchter
2015-12-17layers: clean up bool vs. VkBool32 warningsCourtney Goeltzenleuchter
2015-12-17layers: clean up path without return warningCourtney Goeltzenleuchter
2015-12-17misc: fix commentCourtney Goeltzenleuchter
2015-12-17loader: fix mismatch size warningCourtney Goeltzenleuchter
2015-12-17loader: correct compiler warningCourtney Goeltzenleuchter
Fixed compiler warning of idx potentially being undefined. Also added test to check if the code took that path and return an error if that happens.
2015-12-17demos: Fix compiler warningsCourtney Goeltzenleuchter
gcc complains that return result is unused. This change prevents the warning and should be a no-op otherwise.
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-17loader: save memory pointer before it's lostCourtney Goeltzenleuchter
The first time a library is loaded the code will allocate space for the list. But if the dlopen fails the pointer for that wasn't being saved and the next call would get a segfault on a null pointer. Now save the new pointer so it doesn't get lost.
2015-12-17debug_report: rename vk_lunarg_debug_report.hCourtney Goeltzenleuchter
2015-12-17vulkaninfo: Register a callback at CreateInstanceCourtney Goeltzenleuchter
Add the CreateInstance callback to demonstrate the use of that limited-time callback mechanism.
2015-12-17loader: Enable callbacks from loader_logCourtney Goeltzenleuchter
Need to have the instance pointer to find the list of callbacks. Anything that happens before CreateInstance is invisible to the application. For that reason, I've left in the environment variable logging.
2015-12-17loader: use callbacks from CreateInstanceCourtney Goeltzenleuchter
If an application links a VkDebugReportCreateInfo structure to the InstanceCreateInfo structure the loader will log the callback for the duration of the CreateInstance call. This allows the app to catch any loader issues detected at CreateInstance time.
2015-12-17loader: utils for managing debug report eventsCourtney Goeltzenleuchter
Now need to create & destroy callbacks as part of vkCreateInstance, so refactor debug_report entries into API function and work function that can be used from the loader. Conflicts: loader/debug_report.c
2015-12-17misc: Update copyright statementsCourtney Goeltzenleuchter
2015-12-17loader: Adjust internal naming to match API namingCourtney Goeltzenleuchter
Now that we've settled on EnumerateInstance* and EnumerateDevice* we can change the internal function names in the loader that were global and physical_device to instance and device to make it more clear what's being used by the function.
2015-12-17cube: Update debug report supportCourtney Goeltzenleuchter
Add break callback (it's been removed from the extension). Grab function pointer for DebugReportMessageLUNARG.
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-17layers: declare support for DEBUG_REPORT extensionCourtney Goeltzenleuchter
Have layers that support the debug_report extension (all validation layers) include that extension in it's extension list.
2015-12-17vkinfo: Clean up output formattingCourtney Goeltzenleuchter
2015-12-17loader: debug_report terminator functions use cast to get loader instanceJon Ashburn
2015-12-17debug_report: Add DebugReportMessage functionCourtney Goeltzenleuchter
2015-12-17nulldrv: export device extensionCourtney Goeltzenleuchter
The device extension list was reporting the instance swapchain extension. It needs to be the device version. Also renamed the extension arrays to have names that make it easier to see what they encompass.
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-17nulldrv: Update to latest extension namesCourtney Goeltzenleuchter
2015-12-17layers: Remove validation errors for CmdBindPipeline during active render passMark Lobodzinski
CmdBindPipeline can be inside OR outside a render pass.
2015-12-17layers: Fix find-first-set bitscan utilMark Lobodzinski
On win32, was using leading-zero count instead of find-first-set. Caused random failures on Windows release builds.
2015-12-17layers: Work around Windows release build crash in cubeMark Lobodzinski
DrawState validate_pipeline_shaders is doing something uncool.
2015-12-16Remove FindPkgConfig from Windows build to stop error messagesTony Barbour
2015-12-15layers: LX235, Validate all Pipeline VBOs for CommandBuffersMark Lobodzinski
Validation was throwing errors if a CB had extra VBOs bound, and was not checking each VBO binding explicitly. Conflicts: layers/draw_state.cpp tests/layer_validation_tests.cpp
2015-12-15wsi: Do not enable Xlib support by defaultMark Lobodzinski