| Age | Commit message (Collapse) | Author |
|
|
|
|
|
Removed glslang dependancy from known-good.json
Change-Id: I12577690d3155734ab244fe9e7ef822fc374ba7d
|
|
Changes:
- Updated known-good files
- Generated new source files
- Removed `VULKAN_HPP_NO_SMART_HANDLE` definition for `cube.cpp`
Change-Id: Icb0152455f2c0b21a29d70462d05b958c53be861
|
|
|
|
- add missing lock
- return correct values via return and count
|
|
This reverts commit 00573263e0. This caused the
VkLayerTest.SwapchainAcquireTooManyImages2KHR test to fail,
blocking CI.
Change-Id: Id1464668e02dda50a37eb0fabb275eb897105eb4
|
|
This reverts commit b40274e4. This caused the
VkLayerTest.SwapchainAcquireTooManyImages2KHR test to fail,
blocking CI.
Change-Id: Ie0b5002544f0e467dd6d45beba9063ec96c73f67
|
|
Save the size of memory allocations. If a vkMapMemory is called on a
known allocation with VK_WHOLE_SIZE, then map based on the actual size
of the allocation.
|
|
|
|
- add missing lock
- return correct values via return and count
- bump to two images
|
|
|
|
Due to difficulties setting up dynamic library loading on apple,
the change to use dynamic loading has been reverted to a dynamic link.
Change-Id: If980a327aa07669cc00aa4847dd4339a0ae42804
|
|
Updated MoltenVK version in `known-good.json` from:
`v1.0.40` -> `v1.0.41`
Change-Id: I81970e812a3916a6f4107398c8f4cb111882bbc3
|
|
PDev created at EnumPhysDevices time, but destroyed at DestroyInstance
time. This crashes as EnumPhysDevices is not required to be called.
Change-Id: I2dbfb694364eab57e5173565db795c5c70d458fc
|
|
The change of vulkaninfo to dlopen the loader broke the app bundle.
This commit fixes it by manually setting up DYLD_LIBRARY_PATH before
starting vulkaninfo, ensuring that it can be found.
|
|
Pick some common non-SRGB formats first.
RADV exposes SRGB formats first which causes incorrect rendering.
|
|
From the spec: The number of format pairs supported must be greater than or equal to 1. pSurfaceFormats must not contain an entry whose value for format is VK_FORMAT_UNDEFINED.
|
|
Change-Id: Ie4ec90d05ba5c394df5d020eecee1c061e1010ac
|
|
Updated the glslang commit ID in `known-good.json` to:
`e157435c1e777aa1052f446dafed162b4a722e03`
Change-Id: Icf25b210db414b6b7b1cfa26c127e825f394c23f
|
|
Updated the glslang commig ID in `known-good.json` to:
`bfe4c5957fc51148a0aab6e04bb22020667c1092`
Change-Id: I8eb0009be4ee1a3145d908b2659d7b9459aa45d5
|
|
Updated `.travis.yml` to output the clang-format version
before running a clang-format check.
Updated `check_code_format.sh` to include a suggestion
to check the user's clang-format version if an error occures.
Change-Id: I4328350cedb27998bd84a3d675eab51c89fb1a9e
|
|
Updated the clang-format version in CONTRIBUTING.md:
`5.0.0` -> `7.0.0`
Change-Id: I4d5cf4b228d3c6a689315a64dc2449c39e17d1bf
|
|
During the Error Handling refactor, this line was accidentally made throwing when before
it simply reported an issue and kept going.
Change-Id: Ia3b33749ee05037a5df22398ba8b628811fad29b
|
|
The C++ Vulkan headers will default initialize objects, not need to memset it.
Change-Id: Icdc5cde13410bc7f0002c2d6d4075e79100fd86d
|
|
Changes:
- Updated known-good files
- Generated new source files
- Modified `object_type_string_helper.h` to address `vkcube` build
failures
- Modified `CMakeLists.txt` to enable beta extensions
- Generated new `generate_vulkan_wrapper.py`, `vulkan_wrapper.cpp`, and
`vulkan_wrapper.h`
Change-Id: Ic7271350995e8caefbbb7a51ec206f465c59c510
|
|
json.dump() returns a string. Writing strings to a file opened in binary mode doesn't work. Python 2 doesn't properly distringuish bytes and strings.
Open in non-binary mode, so this code works on both.
Traceback (most recent call last):
File "../../third_party/angle/third_party/vulkan-tools/src/build-gn/generate_vulkan_layers_json.py", line 126, in <module>
sys.exit(main())
File "../../third_party/angle/third_party/vulkan-tools/src/build-gn/generate_vulkan_layers_json.py", line 83, in main
json.dump(data, outfile)
File "C:\Program Files\Python38\lib\json\__init__.py", line 180, in dump
fp.write(chunk)
TypeError: a bytes-like object is required, not 'str'
Chromium bug: https://crbug.com/941669
|
|
Previously, if vulkaninfo encountered any errors, it shut down then
and there. This is bad for json output where you are left with an
invalid file. By using exceptions, vulkaninfo will catch errors,
print it to cerr, then finish off the file so its left in a valid
state.
Change-Id: I2c0116b435713df6135b9c606fa95cfadbfdf8d8
|
|
This commit makes it so that vulkaninfo will not statically link to
the vulkan loader dll. This is to satisfy the Microsoft
ApiValidator requirements.
Change-Id: Ibac46dd13df9568e9a97ce1ba4e50613902848a1
|
|
Certain surface capabilities were being used in a comparison
while unintialized if certain extensions were not supported.
Change-Id: Iaa858a43a1b8bc0a2b42897d2d36a3630a474450
|
|
Certain surface capabilities were being used in a comparison
while unintialized if certain extensions were not supported.
Change-Id: Iaa858a43a1b8bc0a2b42897d2d36a3630a474450
|
|
Change-Id: I2b790615e08f486264b9454f61630722fdbd9a29
|
|
Adds the texture compressed ASTC HDR formats to vulkaninfo.
Change-Id: I0177e6c2461386fb44ace426a21429b84986065e
|
|
The vulkan spec deprecated usage of the BEGIN END and RANGE enum values in
the vulkan headers, thus necessitating a removal of those features in
vulkaninfo.
Change-Id: I56998cfddd647865e4078351e30e9687d6449fb9
|
|
This commit adds a new backend, vkconfig_output, that prints the same information
as the text & html versions in a json format. This output will only be used in
vkconfig. Therefore it does not have a documented flag, but it is accesible with
'--vkconfig_output'.
Many parts of the code needed refactoring to handle the vkconfig_output output.
Replacing PrintElement with PrintString, requiring StartObject instead of
StartArray, and removing many branches to make the code simpler to read.
vkconfig_output does not nest json objects within json arrays, thus keeping every
non-leaf node of a json object named.
files modified
- scripts/vulkaninfo_generator.py
- vulkaninfo/generated/vulkaninfo.hpp
- vulkaninfo/outputprinter.h
- vulkaninfo/vulkaninfo.cpp
- vulkaninfo/vulkaninfo.h
Change-Id: I33d036a75b65942db1ad62b2a1e0c341a2b5e36c
|
|
Previously, vulkaninfo assumed the surface counter and surface capabilities 2 extensions were
supported. Now it correctly checks for them.
Files modified:
vulkaninfo/vulkaninfo.cpp
Change-Id: Ia5a8e22fd062f555d60ca0ebf27e06afbb1bb8cc
|
|
|
|
CMake Error at cube/CMakeLists.txt:177 (CHECK_LIBRARY_EXISTS):
Unknown CMake command "CHECK_LIBRARY_EXISTS".
|
|
Change-Id: Idb6672495b2b42d45003efdbad868f41a96aa1e1
|
|
Updated MoltenVK version:
`v1.0.38` -> `v1.0.40`
Change-Id: Id51adc7234dffc7cf14560d6f30a0e07d8ef5f69
|
|
When the original vkEnumerateInstanceVersion was implemented, the loader always return
0 for the patch. This has since been corrected, but in the mean time vulkaninfo used the
hardcoded VK_HEADER_VERSION to get the patch information. Now vulkaninfo will use the
patch version from the instance, unless it is zero, in which it will then fallback
to VK_HEADER_VERSION's patch.
Changes to be committed:
modified: vulkaninfo/vulkaninfo.h
Change-Id: If0a63534253afadccbad50c6256cdef8016222c1
|
|
Fixed various markdown-lint errors and moved the note about
vulkanSDK.exe to near the top of the document.
Change-Id: I2025ef27ffb3ad27469dd903db9c2c1e04929708
|
|
vulkaninfo would previously use the instance version for determining
what capabilities to display. This leads to issues when running a 1.2
loader on a 1.1 or 1.0 driver.
Changes to be committed:
modified: vulkaninfo/vulkaninfo.cpp
modified: vulkaninfo/vulkaninfo.h
Change-Id: I7f12c10d48f99d429025337b00c677936a040d13
|
|
Change-Id: Icf6794ea4f43ba4a55792ed0054af34bcf7cded2
|
|
Update `VulkanRT-License.txt` to include 2020 in the copyright date
Change-Id: I3b269c66c0aba3b218dad7bf9abfc016de50ec2e
|
|
Tooling info added flags for different purposes, however they let the debug utils, debug report
and debug marker extensions use the same bitpos values for the same flags.
The autogen didn't consider this possibly, and would output the flags multiple times.
Changes to be committed:
modified: scripts/vulkaninfo_generator.py
modified: vulkaninfo/generated/vulkaninfo.hpp
Change-Id: I7c7a648d9051f8ce2876083dfb0d2ddc2eb7ca95
|
|
Drastically reduces repetition and ensures consistent error handling.
|
|
The output printers for UUID and LUID wouldn't retain the leading zero's,
leading to an inaccurate hex string.
Changes to be committed:
modified: vulkaninfo/outputprinter.h
Change-Id: I0834c00ca810d67a2849cdfb0a46db5e70158376
|
|
In the commit to reduce unecessary surfaces being listed where only the surface extension differed, the which gpu the surface was using wasn't considered, creating
a matrix of surfaces, when there should of been only 1. This fixes it by making
sure to only collate surface extensions if they share a GPU.
Change-Id: Ib0d17a229713b3e4cec6f2885f81c96c5232ee0b
|
|
Due to IVH's shipping their own version of vulkaninfo through
the vulkan runtime package, the vulkaninfo binary included in the
Windows Vulkan SDK was renamed to `vulkaninfoSDK.exe` to prevent
name conflicts. This commit fixes the lack of documentation in the
readme about the change
Changes to be committed:
modified: vulkaninfo/vulkaninfo.md
Change-Id: I7533eaa4ee5a915b36324f40a9ba4ced785710ff
|