-
93eb4925
by Cody Northrop
at 2018-02-06T15:20:01-07:00
android: Update to shaderc known-good revisions
-
d4b1fccc
by Petr Kraus
at 2018-02-07T11:00:37-07:00
demos: Let vulkaninfo accept empty DISPLAY variable
-
e9973f3f
by Mark Lobodzinski
at 2018-02-07T12:16:29-07:00
layers: Avoid warnings in vk_layer_logging.h
This file was often included in files where only a subset of the
functions were called, resulting in -Wunused_function warnings from
GCC. Made these functions inline to avoid the warnings.
Change-Id: Iaa3765ee51a290f0dd82d1a6a91116b6e1eec2c1
-
0eb1c4a1
by Mark Lobodzinski
at 2018-02-07T16:33:33-07:00
build: Add min supported compiler versions to BUILD.md
Change-Id: I694aaf18e3f4f1d458fa2a4f84f84c4553e93a0a
-
c15913df
by Lenny Komow
at 2018-02-08T10:55:26-07:00
winsdk: Update runtime installer copyright to 2018
Change-Id: If27613c85c754d4a54f5afa4dd3a6976695b227e
-
fa472852
by Slawomir Cygan
at 2018-02-12T13:23:57-07:00
loader: remove references to shlwapi.lib
This change improves loader compatibility with Universal
Windows drivers[1]: shlwapi.lib is not a part of allowed APIs.
It seems PathFileExists call was already redundant as
ERROR_MOD_NOT_FOUND was already returned by the loader in
cse of wrong dll path.
PathIsRelative is replaced by equivalent check.
[1] https://docs.microsoft.com/en-us/windows-hardware/drivers/develop/getting-started-with-universal-drivers
Change-Id: I36854f38078670ac033e8bd415dbf368391e8448
-
43b42e1e
by Slawomir Cygan
at 2018-02-12T13:23:57-07:00
loader: use Unicode functions from cfgmgr32.lib
This change improves loader compatibility with Universal
Windows drivers[1]: do not use removed ANSI-based functions,
use Unicode equivalentsexposed in umbrella[2] library.
[1] https://docs.microsoft.com/en-us/windows-hardware/drivers/develop/getting-started-with-universal-drivers
[2] https://msdn.microsoft.com/en-us/library/windows/desktop/mt654039(v=vs.85).aspx
Change-Id: I8ead9c46815d15e1b2f2226eb30110c8efa4ec75
-
18a1951f
by Slawomir Cygan
at 2018-02-12T13:23:57-07:00
loader: link with OneCore umbrella library
This change makes loader use OneCore umbrella[2] library, common
to all Windows 10 devices and required with for Universal
Windows drivers[1].
As this change may not be compatible with previous versions of
Windows, it's enabled via CMAKE option:
-DENABLE_WIN10_ONECORE=1
[2] https://msdn.microsoft.com/en-us/library/windows/desktop/mt654039(v=vs.85).aspx
[1] https://docs.microsoft.com/en-us/windows-hardware/drivers/develop/getting-started-with-universal-drivers
Change-Id: Ib677face131ab2edb3e8cd2f764fe4e0ca44cecc
-
a1d2144e
by Tobin Ehlis
at 2018-02-13T09:14:47-07:00
layers:Remove TODO comments
After discussion in Khronos, explicit VUIDs for these descriptor set
lifetime cases are not going to be added to the spec. There are no
similar VUs for related object lifetime cases so will continue using
the existing VUIDs for valid descriptor set handles which is a
reasonable compromise.
-
c1ee4160
by Tobin Ehlis
at 2018-02-13T09:14:47-07:00
layers:Fix typo databate->database
-
2c864116
by Lenny Komow
at 2018-02-13T16:07:23-07:00
loader: Fix loader skipping layer files
Fix a bug where having a json file in the layer path that isn't a
valid layer would cause the other valid layers to be skipped
Change-Id: I8346bd223358f271a48799d249d3b3a941dd31f8
-
a467c7a7
by Tobin Ehlis
at 2018-02-14T09:07:37-07:00
layers:Fix spelling truely->truly
-
891565aa
by Jeremy Kniager
at 2018-02-14T11:18:57-07:00
layers: fix unexpected errors in layer tests
Adjusted to not conflict with PR #2387
Change-Id: I7afc90577cb269070beda4f33bb04ab2a2c28f40
-
b9a187d6
by Tobin Ehlis
at 2018-02-15T06:50:20-07:00
layers:Adding intercepts for sparse binding
Intercept vkGetImageSparseMemoryRequirements() and
vkGetPhysicalDeviceSparseImageFormatProperties() functions and their
2KHR equivalents in core_validation in preparation for adding sparse
checks. Initially just pass-through intercepts.
-
480a7c8a
by Tobin Ehlis
at 2018-02-15T06:50:20-07:00
layers:Track sparse image requirements
Add image state tracking for if sparse memory requirements have been
queried and when they are queried, save the requirements.
-
1d0c482a
by Tobin Ehlis
at 2018-02-15T06:50:20-07:00
layers:Add sparse mem warning if reqs not checked
If vkQueueBindSparse() is called to bind sparse memory to an image,
trigger a warning if the user has not queried sparse requirements for
that image.
-
6dd52859
by Tobin Ehlis
at 2018-02-15T06:50:20-07:00
layers:Verify sparse image metadata is bound
Any image for which sparse memory requirements are bound, flag if that
image requires metadata. When binding sparse memory, for any image that
requires metadata and no metadata was bound, issue a warning.
-
e16d220f
by Norbert Garnys
at 2018-02-15T11:10:34-07:00
loader: Don't add duplicate JSON files from Khronos registry path.
To make sure we avoid enumerating old JSON files/drivers that might be present
in the non-device specific area of the registry when a newer device specific
JSON file is present, do a check before adding.
Find the file name, without path, of the JSON file found in the non-device
specific registry location. If the same JSON file name is already found in
the list, don't add it again.
-
068fdbbb
by Dave Houlton
at 2018-02-16T09:31:58-07:00
tests: clang-format only
No code changes, just full clang-format.
Change-Id: I096d1b5509897bd642545e3369ccd83ca2849441
-
5f6b7bf3
by Dave Houlton
at 2018-02-16T09:31:58-07:00
layers: clang-format only
Whole-file clang-format of layers .h and .cpp files
Change-Id: I683ad38fa9bced371a923b86d8cc916f2c2aa947
-
a2ad0560
by Jeremy Kniager
at 2018-02-16T09:58:53-07:00
tests: Add test to verify issue 2213 fixed
Change-Id: I9776db7e08a0d69260a80f50f708db9517c68d69
-
6f02472e
by Cody Northrop
at 2018-02-16T11:24:19-07:00
android: Update shaderc known-good 20180216
-
d62f9b76
by Petr Kraus
at 2018-02-19T09:11:34-07:00
layers: Implement `VkViewport` parameter_validation
-
1bf9614a
by Petr Kraus
at 2018-02-19T09:11:34-07:00
layers: Reimplement vkCmdSetViewport param val.
-
9aa8e68a
by Petr Kraus
at 2018-02-19T09:11:34-07:00
tests: Fix tests using invalid viewport
-
269ecdbe
by Petr Kraus
at 2018-02-19T09:11:34-07:00
tests: Implement vkCmdSetViewport tests
-
9d81fc87
by Petr Kraus
at 2018-02-19T09:11:34-07:00
tests: Add dynamic multiViewport test
-
b3ae09c9
by Petr Kraus
at 2018-02-19T09:11:34-07:00
tests: Implement VkViewport tests
-
2f9f142f
by John Zulauf
at 2018-02-19T11:00:04-07:00
layers: Fix linux compilation errors of isnan
Added std:: to isnan invocation.
Change-Id: I1353c4116497a88625a12e4003121716ec66a4f0
-
e27fed4b
by Mark Lobodzinski
at 2018-02-19T12:01:16-07:00
layers: Move U_O:DestroySwapchain out of codegen
This function in the unique_objects layer will need to clean up some
swapchain image index tracking information and so will now be
manually written.
Change-Id: I306fdd9f7a3c75c21b82fe21951804bd86259781
-
2c4f591d
by Mark Lobodzinski
at 2018-02-19T12:01:16-07:00
layers: Handle multiple GetSwapchainImages calls
Unique Objects was fixed to prevent uniquifying duplicate image objects
for multiple GetSwapchainImageKHR calls.
Change-Id: I14bc3d8145a37b74adcdef68970b3dffc539d511
-
ef2947b5
by Mike Weiblen
at 2018-02-19T12:03:24-07:00
demos: ensure DISPLAY envar is valid
If the DISPLAY environment variable is unset or null, the cube demo will
emit "Cannot find a compatible Vulkan installable client driver (ICD)."
That message is not helpful when attempting to resolve the issue, since
the problem is with the envar, not the ICD.
Change-Id: Idf145cf0da906a4a8352b5bb136f88d9c1bca90d
-
269b279d
by Dave Houlton
at 2018-02-19T14:59:16-07:00
demos: clang-format only
Apply a whole-file clang-format to LVL demos folder.
Change-Id: I5f7fc8b67e7f3f3eeaa34a2ae757004fb7334743
-
27f433ae
by John Zulauf
at 2018-02-21T07:37:25-07:00
layers: A memory binding validation for barriers
Add validation to ensure non-sparse resources are bound to memory before
being referenced in a barrier command.
Change-Id: I007200833d19a96e92ef61a91851c6395b8b9c57
-
15c76c34
by John Zulauf
at 2018-02-21T07:37:25-07:00
tests: Add unit test for "no memory bound" barrier
Add to unit tests for the validation of the requirement that memory must
be bound to non-sparse resource before they can be used in a barrier
command.
Change-Id: I73c3f0b8a62fd1a4f4bd177a69cde4ab421cf3e3
Note: There is no current VUID for this requirement.
-
a7868c99
by John Zulauf
at 2018-02-21T07:37:25-07:00
layers: Fix and convert buffer barrier size check
Change buffer barrier size check to compare against the created size of
the buffer, not the memory requirements size, and add VUID info to
validation. Update test to reflect validation changes.
Change-Id: Ib61d6bcd0df449bacd063ece44426ba6196b62e6
-
199987b2
by John Zulauf
at 2018-02-21T07:37:25-07:00
layers: Convert 2 barrier checks to VUID notation
Converted two validation checks for image and buffer barriers to the
VALIDATION_ERROR_xxxxxxxx / VUID notation and changed unit tests to
also specify desired failure in same form.
VALIDATION_ERROR_0a00095c VUID-VkImageMemoryBarrier-newLayout-01198
VALIDATION_ERROR_0180094a VUID-VkBufferMemoryBarrier-size-01189
Change-Id: I20387bfec89872825f7311e443105aecacb84000
-
eb591982
by Mark Lobodzinski
at 2018-02-21T08:23:39-07:00
header: Update to version 1.0.69 of the Vulkan hdr
- updated vulkan.h
- updated vk.xml
- updated layer json files
- updated vulkan.hpp
- updated validation_error_database.txt
- updated vk_validation_error_messages.h
- updated vuid_mapping.py
Note that the VU text in the database file contains artifacts from
the registry/VUID toolchain. These will be addressed in a follow-on
patch set.
Change-Id: I6994ec17a6edcb6c9028c792c68863cd39f1fc56
-
6119c19c
by Mike Schuchardt
at 2018-02-21T13:16:03-07:00
scripts: Strip xref markup from vu error messages
Convert asciidoctor xref markup from "<<anchor, text>>" to "text" for VU
error messages. Longer term plan is to modify the upstream validusage
build target in Vulkan-Docs to emit plain text to begin with.
Change-Id: I6ca6ffb4701df27c9c1666598fbeceb0f3a03216
-
321436e9
by Shannon McPherson
at 2018-02-21T14:14:04-07:00
demos: surfaceCapabilities output; gpu select
User can now specify which GPU they want to save information for
Change-Id: Iac60fc883b32677bc2a59f4b3143aa727e3732cb
-
0cc8199c
by Shannon McPherson
at 2018-02-21T14:14:04-07:00
demos: Implement JSON coverage for more Vk objs
Change-Id: I6584027b83e4d55e2ad99680f7f3645a45285917
-
88f07068
by Shannon McPherson
at 2018-02-21T14:14:04-07:00
demos: Add functionality on Linux for single GPU
Vulkaninfo JSON output appears as expected in Linux environment.
Implemented on a system with a single GPU.
Change-Id: I3179b3d479270c71a9f7955b41d19924baf10bfb
-
8a3af7af
by Shannon McPherson
at 2018-02-21T14:14:04-07:00
demos: Change post-increment to pre-increment
Change-Id: I2bc7a4d207330892c29fa8053705db0548963c00
-
4bcbb104
by Shannon McPherson
at 2018-02-21T14:14:04-07:00
demos: Add Windows functionality
Also, bug fixes.
Change-Id: I6828ea2958cc05342d9ab5a5438c032080bb849d
-
1b36643a
by Shannon McPherson
at 2018-02-21T14:14:04-07:00
demos: Update/alter console and json output paths
Json is now sent to stdout instead of a file. Html and json output are
now the only two output paths that can exist in the same instance.
Change-Id: I2d28d9b996c11535bf170e7e25b5acd8f57276e1
-
fe1ad688
by Shannon McPherson
at 2018-02-21T14:14:04-07:00
demos: Clang format and update const correctness
Change-Id: Ic48d19b6e67c153db0cd86ff6390076d52d3f16f
-
1fede1a6
by Lenny Komow
at 2018-03-06T16:30:40-07:00
build: Update to 1.1.70