| Age | Commit message (Collapse) | Author |
|
Change-Id: I6b60b2e71568a3a88a3366b04ab7cf911fa05526
|
|
This sets up cmake to locate the temporary or worker MSVC projects
into a subfolder called lvl_cmake_targets. This simply unclutters
the Visual Studio Solution Explorer projects pane, and does not
affect functionality.
Change-Id: I6933d05758d6f174a4f66ceaef51d43627210e4f
|
|
Specified cmake variable does not exist, caused problems in some
out-of-source builds.
Change-Id: I526117ef060efea40451752e5fe7bad1e7a5589e
|
|
The mock ICD shouldn't be installed or be part of packages
that use the "make install" target to create packages.
The mock ICD shared lib wasn't added, but the JSON was.
|
|
|
|
|
|
See Github #2243.
Change-Id: I40119c73a1518357df4360654c888b8306aa94d8
|
|
Only 2 tests remain with unexpected errors when running with default
mock ICD configuration. These same two tests also have unexpected
errors when running on actual HW.
|
|
|
|
|
|
Make sure that allocation for buffer is large enough to accommodate the
buffer's device memory requirements.
This fixes last failing test with mock. Also reran through all tests
and updating unexpected error and skipped test lists.
|
|
Modifying hard-coded minImageTransferGranularity for the queue from
{0,0,0}, which has special restrictions, to {1,1,1} which is more
lenient and removes some unexpected errors, allowing six more tests to
pass.
|
|
InvalidBarriers test made invalid assumption that internal size of
buffer memory was same as requested size. Update test so that when we
exceed buffer size we do that based on internal size instead of
requested size.
|
|
Initial check-in for mock icd which is being built to allow validation
testing without the need for an actual Vulkan device.
ICD is currently building and passing 324/332 tests. It creates ptr
handles for dispatchable objects and unique id handles for
non-dispatchable objects. It currently has some hard-coded values for
various Get* device-query functions in order to allow forward progress.
The long-term intention is to allow the device configuration to be set
by the test itself.
See the ICD README.md file for more info.
|
|
|
|
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|
|
Previously we just left this filled with junk.
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|
|
Other uses of pUserData in Vulkan do not have a const qualifier,
remove it for this pUserData.
|
|
Previously this was just left uninitialized. Image layer would then randomly fail image creation based on comparisons against junk.
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|
|
Again not OK to claim success but return junk rather than a proper handle. Fixes various layers exploding when running against nulldrv.
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|
|
It's not really OK to claim success but leave junk in the caller's memory rather than a real handle. This prevents object tracker randomly exploding when running against the null driver.
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|
|
Previously if an app would be unable to find any color renderable format, so only
an app that didn't bother (and wasn't running under validation) would get anywhere.
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|
|
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|
|
Previously we just left whatever junk the caller had in this memory, which generally crashed a caller.
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|
|
Previously this just left whatever junk the caller had, with unpredictable results.
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|
|
Previously apps would randomly succeed or fail to find a matching memory type based on whatever junk happened to be here. Instead, claim to support all memory types.
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|
|
|
|
|
|
|
|
Use sizeof(int) as a default generally. Is that reasonable?
|
|
exports on all Vulkan entry points but vk_icdGetInstanceProcAddr.
|
|
|
|
Header file changes going to 213 version
|
|
|
|
|
|
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
|
|
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.
|
|
|
|
|
|
|
|
This allows us to use the null driver ICD in place of
a real ICD for loader & layer development.
|
|
VkDebugReportObjectTypeLUNARG fits the extension naming requirements
|
|
Conflicts:
layers/mem_tracker.cpp
Conflicts:
layers/draw_state.cpp
|
|
|
|
|
|
The null driver is useful for testing code changes in
layers and the loader that don't depend on a real ICD
so add a json file to make it easier to use.
|
|
Conflicts:
layers/draw_state.cpp
|
|
Removed component-specific definitions
|
|
Conflicts:
icd/common/icd.h
vulkan.py
|
|
Conflicts:
vulkan.py
|