| Age | Commit message (Collapse) | Author |
|
This allows use of the script as is, automatically
selecting git_dir vs. rev_file based on detected paths.
|
|
external_revision_generator.py generates a UUID for
VkValidationCacheEXT objects created by the layers, based on
the commit ID of the HEAD revision in the spirv-tools repo
used to build those layers. This implicitly required that
the spirv-tools source is hosted in a Git repository, which
is not the case in all validation layers build environments.
The script has been modified to accept *either* a path to
a Git working directory to query *or* a path to a file whose
contents are SHA1-hashed (if necessary) and treated as the
"commit ID" for the project.
Call sites for the script in the CMake and Android build paths
have been updated to use the --git_dir approach by default,
which matches the pre-existing behavior.
|
|
|
|
This option is optional if all components are to be built. Removing
this will make VulkanTools trunk merges safer and easier.
Change-Id: I4c0bb13bf23924c49bb1b3bde1eaa26de1b180df
|
|
|
|
This allows us to switch to libc++ runtime as it is no longer beta:
https://android.googlesource.com/platform/ndk/+/ndk-release-r16/CHANGELOG.md
|
|
- No more SPIRV-Tools revision file. Instead, the
revision-parsing script just runs "git rev-parse HEAD"
in the spirv-tools repository to extract the commit ID.
- Invoke the revision-parsing script from the .sh Android scripts,
in addition to the .bat scripts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
With switch to importing shaderc, we don't need to
create prebuilts anymore.
|
|
The while loops for the walking the pNext chains were implemented by
repeated code. These were refactored into a common template. Added
autogenerated 'traits' objects for the pNext linked structs.
Delete cut and paste duplicate pNext chain walk.
Change-Id: I46457bb5432219c74f9356e5230c70e4a9ef16df
|
|
This is a scrub of the entire repo to normalize end-of-line termination to
conform to the recently added .gitattributes file. A mismatch of line
termination can cause difficult-to-resolve conflicts when rebasing or merging.
The process performed is described at:
https://help.github.com/articles/dealing-with-line-endings/#refreshing-a-repository-after-changing-line-endings
The .gitattributes file is required because some files (*.bat and *.sh) are
sensitive to line termination. The .gitattributes file is stored in the repo,
and overrides settings which could be corrupted by a developer's local
git configuration. The .gitattributes file was added in f077c81
This commit completes bcc9fec, which fixed a single file.
Change-Id: I75d4594b61cb8aa6a09efb3ed5ace34fe8394871
|
|
Change-Id: I9d4152df8cc7c10e74f6484dbc802c2c854c9fef
|
|
Locate glslang and spirv directories under shaderc directory.
This allows the layers build to optionally use the NDK sources.
For glslang and spirv and shaderc-
Use LOCAL_STATIC_LIBRARIES instead of LOCAL_C_INCLUDES to find headers.
Use import-module instead of PREBUILT_STATIC_LIBRARY.
|
|
Drop abspath from LOCAL_PATH.
Use LOCAL_PATH for LOCAL_C_INCLUDES but not LOCAL_SRC_FILES.
Move LOCAL_CPPFLAGS from Application.mk to Android.mk.
|
|
This reduces local arm32 toolchain build from 3m30s to 42s.
Also update Travis-CI config to use the new flag, greatly reducing
Android build time.
|
|
With this, LVL's Android externals match those of shaderc's known-good
as of cd52beb9
Change-Id: Ic408469d007b632f16229b3e2be0abe82abe5869
|
|
Pulled from:
https://github.com/google/shaderc/blob/90a90d6f745704ac05afe70b7e8f759bec2ff493/known_good.json
|
|
This commit adds vkjson and vkjson_info to the Android build.
It is only generated as an executable for devices with root
access, but it could be expanded to an APK with some more
boilerplate work.
See updates to BUILD.md for how to build and run on the device.
|
|
Removes app_dummy from apps that use native activity.
For more details refer to: https://github.com/android-ndk/ndk/issues/381
|
|
Changed the codegen to autogenerate validation functions for any new
APIs without user intervention. Manual updates are only necessary to
extend PV functionality.
- parameter_validation.h is now checked into the layers directory
- parameter_validation.cpp is now generated
- parameter_validation_utils.cpp is new and contains any custom
(non-generated) or housekeeping functions.
- parameter_validation_utils.h is deprecated
- updated database for new VUID coverage
Change-Id: Ib9261894386145573ba9e8906ba4ad4e9fecbdfd
|
|
Update external reference commit IDs for Desktop and Android
Change-Id: I0b79c9e030e06479d1f07d4d3372dcc96bfa2f0e
|
|
- updated desktop/android build
- removed layers/object_tracker.cpp
- updated doc validator script for new location
- updated error database for 124 new checks
- added gen'd VU to GetSwapchainImages
Change-Id: If1b218dfcf62b203a8df96a0f12cbeb8bdcaf826
|
|
Moved to-be-generated source to object_tracker.cpp, manually-
written and helper functions to object_tracker_utils.cpp (new
file), and reworked header. Updated doc validator to search
new file.
Change-Id: I0fd3bcc4f6d123db07c7f8e2633e6fe16833e231
|
|
Also removed from android makefiles.
Change-Id: Ib4be1c737e9bd9fda21210ed7b234b9242b7b8f5
|
|
|
|
Change-Id: Id93ead148d5b0beb23ee5d9f1bc7e8fc727aa46e
|
|
Change-Id: Ie168ac55cc12d317a2c189dbaee735718b295c04
|
|
Pick up a fix for built-in redeclarations.
Change-Id: I2b506e24b2cf619b07ff1c75ab0a9a05143379ca
|
|
Update external revisions for glslang, spirv-tools, spirv-headers, and
shaderc.
Change-Id: Ie1f4afe2d36a6d8e3d1e166c23372f8f6523cf59
|
|
|
|
Change-Id: Iaf28f3b22c53d8272984e7369fb5afb606908bdd
|
|
Change-Id: Ied5cecf65eaafcab9274376fea452934bda3f69b
|
|
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
|