Age | Commit message (Collapse) | Author | Files | Lines |
|
CV needs the new bitpattern interface for specialization.
V2: also bump for android
V3: also bump headers
V4: also bump shaderc for android build
|
|
|
|
This is a script we've been using internally for a while, no reason
not to make it public. It installs our layer validation tests, runs
them, and gathers output. Improvements are welcome!
Usage:
./test_APK.sh -s <serial number> -p <plaform name> -f <gtest_filter>
|
|
|
|
Change-Id: If54d83c9b5c67ad92f7510718e1194391bf9fff5
|
|
|
|
Split format-related helper fxns out of vk_layer_utils.cpp into a new
file vk_format_utils.cpp. Remove the duplicated fxns in the render
framework and share the new format utils across both projects.
Rename the util fxns into CamelCase per coding std.
Change-Id: I0f9a34bc5931dfca085dfdc8d4800664aec526cf
|
|
Start pulling from github again for more recent bits.
This includes changes to easily allow changing the repo url.
|
|
The command is more widely available in Linux since it is part of Coreutils.
|
|
Updated all necessary files to 1.0.42. This includes the various
headers as well as the loader, and the parameter validation, object
tracking, and threading layers. Additionally, bump all layer JSON
files to 1.0.42.
Also, in this change:
- Enable loader extension automation so that the loader now
generates all extension entry-points automatically during build
to reduce likelihood of missing a critical piece on header
update.
- Enable layer dispatch table extension automation for the same
reason.
- Fixes from Mark Lobodzinski and Tony Barbour to resolve crash
in loader when working with Intel's Windows driver due to
GetInstanceProcAddr getting called on inappropriate command
names.
Change-Id: Ic18d3fac2e145c386c0192031deb5089c91a00d8
|
|
All image layer functionality has been moved into the core_validation
layer.
Change-Id: I980e279626e4e3f29c5068240260a737a5a707b1
|
|
- Move source from core_validation.cpp into new module
- Add new module to layers cmake file
- Update android build scripts/makefiles for new files
Change-Id: Ia4000b26384d96a551d727f5e37997372f01764a
|
|
Change-Id: Ia89cfec2b836437c2f2009608795d1ee38b811ad
|
|
Change-Id: I31c32e56ae09134b7b91c610b546a9d46c20c007
|
|
Change-Id: I264d7ecca323089bda1583dbcf9eb751736146a7
|
|
The enum_string_helper header is now generated from vk.xml.
Change-Id: I6adf09663c87b21623993a939a8ad60e343a805d
|
|
Similar to a2e6ddd1 which preserves it for desktop.
|
|
|
|
Upcoming header scripts require python3 -- updated
Windows and Linux android-generate scripts.
Change-Id: Iba3b44d0999b5c28b9fc83800a4d54d46cbc2a4c
|
|
Change-Id: Id505439bf599ac04d2590e84e30ca29da9359f56
|
|
Change-Id: I38ddea801f3efb887eac9da469428d3476f7adc3
|
|
This allows us to recreate the entire LVL package from any point in history.
We continue to pull known good revisions from AOSP.
|
|
- Update android-generate batch/script files
- Update layers CMakeLists.txt file
Change-Id: I6423f441d61daa20aef2cc5e8bc719113fd7978d
|
|
- Update android-generate.bat and android-generate.sh
- Updated layer CMakeLists.txt files for new path
Change-Id: I1b1c9dbc9e944c90e95542fcfdda1d2e804517f3
|
|
- Set SCRIPTS_DIR in root CMakeLists.txt
- Update android-generate.bat and android-generate.sh
- Updated layer/loader/tests CMakeLists.txt files for new path
- Updated test layer doc scripts for new location
Change-Id: I2d519ec40883ebeec4e9daab8641ad65515bb08c
|
|
|
|
|
|
|
|
This includes pulling libSPIRV-Tools-opt into the build
to satisfy new shaderc revision.
|
|
Cmake on windows cannot handle multiple projects using generated library code.
|
|
- Updated cmakefiles for new codegen files: renamed genvk.py to
lvl_genvk.py as the file is modified in this repo.
- Modified dependencies and parameters of cmake build macros.
- Updated reg.py to version 1.0.30
- Updated generator.py to version 1.0.30
Change-Id: Ia87fc7fc68e406a724d5ad9822f1f87b964f9977
|
|
|
|
UniqueObjects was the final LVL layer not using vk.xml for codegen.
The new implementation follows the threading layer model which
(outside of safe_struct dependencies) is more tolerant of API
changes. Also updated for structure and style.
build-android/android-generate.bat - Updated for build
build-android/android-generate.sh - Updated for build
generator.py - Added Unique Objects Generator
genvk.py - Added call to U_O generator
layers/CMakeLists.txt - Updated for build
layers/unique_objects.cpp - New: manually generated code
layers/unique_objects.h - Now a true header file
vk-layer-generate.py - killed!
Change-Id: I0d57871dfd2600829502f0bffd7cf6f926b7d5e7
|
|
Hide symbols from layers that don't need to be exported.
This makes libraries smaller.
It reduces symbol lookup time and call overhead.
It prevents possible symbol collisions.
|
|
Use -Bsymbolic linking android layers so they don't get symbols
like vkCreateDebugReportCallbackEXT from outside the layer.
|
|
Also add spirv-headers, a new dependency for shaderc.
|
|
|
|
Currently the mips64 build for Android is broken due to size
increases of core_validation. If you disabled optimizations (-O0),
you'll get the following error:
relocation truncated to fit: R_MIPS_CALL16
The linker flag to lift the limit is -mxgot, documented here:
https://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/MIPS-Options.html
It is a slight de-optimization for global symbol lookups (3 inst
instead of 1). Hopefully we aren't using global lookups in
performance critical code.
|
|
Removed dead code, added per-instance and per-device object tracking,
(this was broken in codegen'd version with no cross-device
validation), updated for new layer architectures and coding standards,
removed OT-related codegen -- it is now a standalone cpp file.
Change-Id: I64464b855e1b4841c8e3a581387e0e9065b006f7
|
|
Change-Id: I4d63b740f046ee8378267082abc3792aa7a85418
|
|
|
|
|
|
|
|
Mirror changes made to android-generate.sh in cb9ce9e0
|
|
This change pulls all of the DescriptorSet code out of core_validation.cpp and into
its own files/classes in descriptor_set.h/cpp.
See header file for complete class documentation.
These changes pass tri/cube/smoketest --validate.
All related layer validation tests are also updated and passing.
Finally, I ran it through mustpass CTS and did not hit any issues related to these changes.
These changes not only update the descriptor interface but fix some known lingering
bugs with how descriptor updates occurred. This includes now correctly handling
updates that cross binding boundaries and updates that write a subset of a binding.
Going forward this is a general outline for how we would like to evolve core_validation.
That is, we'd like to move the functionality of the checks into reasonable classes and
just have core_validation call into those classes to do the majority of the work.
|
|
Mirroring commit d288cb9a, stop using directories outside
of our project location to host external files. Small
changes to update_external_sources_android.sh/bat to find
glslang, spirv-tool, shaderc in "external" instead of ".."
|
|
|
|
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|
|
Encompasses pull request #261 from Chris.
Also gets things building again reflecting upstream changesi, mainly
HLSL libs for glslang.
Desktop build/test results w/ update_external_sources.sh/bat
Windows on Skylake: _run_all_tests.ps1, demos with --validate
Ubuntu on Skylake: vk_layer_validation_tests, cube --validate
Android build/test results w/ update_external_sources_android.sh/bat:
Windows: VkLayerValidationTests pass
OSX: VkLayerValidationTests pass
Ubuntu: VkLayerValidationTests pass
|
|
In previous commit we modified build.gradle to be cross platform,
so we can stop using the windows specific version.
|