| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
- remove unnecessary ";" after function definitions and namespaces
- fix
wrong type match in printf for handle types
- convert some left-overs to `HandleToUint64`
|
|
Change-Id: Ibaa3901daa7a632022b67e53dd34f79be594ded1
|
|
Change-Id: I6f1192b71aa6f33664a6782dc81e1f8cb7cc5ba1
|
|
|
|
Change-Id: Ie53724c3612eb5bb9adfbb826149ef87916f0d84
|
|
- Run clang-format on vulkaninfo.c
- Format Instance Extensions section
- Complete Layers info tree
- Convert spaces to tabs for html output
- Fix indentation of html output file
- Add Presentable Surfaces to html option
- Ammend Presentable Surfaces html output
- Extend platform compatibility
- Display VkPhysicalDeviceProps in html
- Convert DeviceLims and SparseProps to html
- Convert memoryType/flags to support html
- Complete AppGpuDumpMemProps html upgrade
- Complete format properties html upgrade
- Improve boolean logic for html_output var
- Change output filename to vulkaninfo.html
- Create auto-open format property flag info
- Update page title, further .html fixes
- WIN32 formatting and bug fixes
- Clang-format changes
- Close clang-format comments
- Update file format to code style standard
Change-Id: I49c7c6c62a54493fe622bd457f7c61e81806487e
|
|
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
|
|
- updated vulkan.h
- updated vk.xml
- updated Win/Lin json files
- updated vk_validation_error_messages.h
- updated vk_validation_error_database.txt
- updated vulkan.hpp
- updated vuid_mapping.py
- updated cube.cpp for vulkan-hpp changes
Change-Id: I79971c3b54feb1fdad5ea2257e4b1b4c6f9e3c3b
|
|
Some formats were shown as unknown in vulkaninfo's list, make
sure they're all included.
|
|
alphaMode in VkDisplaySurfaceCreateInfoKHR is
VkDisplayPlaneAlphaFlagBitsKHR, not VkCompositeAlphaFlagBitsKHR.
|
|
The physical display rendering code didn't compile due to drift in
`vulcan.hpp`. Update for these changes.
Tested on i.MX8M / Vivante GC7000L.
|
|
Change-Id: I10bb9559bd91f29bb224f7cb90359ec14161a770
|
|
Change-Id: Ibb95a7192bd95195797d3d10ccc0ed34fe030268
|
|
For headless XCB we cannot create a surface. Simply ignore XCB if
connection could not be established or any other error occured.
Change-Id: I32db6aa3fc14887658d4290dcabbe8a1930cd8b3
|
|
Printing to stdout is weird.
Change-Id: If53e8708b853989ae8a9ea61fa4d57f27b24b45c
|
|
- updated vulkan.h
- updated vk.xml
- updated Win/Lin json files
- rebuilt and updated vulkan.hpp
- updated vk_validation_error_database.txt
- updated vk_validation_error_messages.h
- added new code-generated VUIDs (16) to error database
- modified object tracker for VUID corner-case
- updated vulkaninfo.c for STYPE name change
Change-Id: I0870e8bc4e84867e05bd466c13c7428b9b7365ac
|
|
Removes app_dummy from apps that use native activity.
For more details refer to: https://github.com/android-ndk/ndk/issues/381
|
|
When an object reaches the end of its "curve" path
it receives a new curve. To ease the transition from
the old curve to the new curve, the origin of the new
curve is the ending point of the old curve. However,
this can result in the starting point of the new curve
being out of the view. This results in objects slowing
leaving the view.
Add code to move the origin of the new curve back inside
the original view bounds only if the end of the old curve
is out of the view bounds. This does not add any additional
jarring because any object getting a new origin is already
outside the view anyway.
Change-Id: I50e88be453f31b9c37878f63c97d4c7c8154e718
|
|
Change-Id: Id19d11e909ffc21c4aa6a419b071ba53594ae94f
|
|
Error in for loop condition
Change-Id: I8c775f961a6c05dd36e7acfdda6e94399365f90d
|
|
Calling vkGetPhysicalDeviceFormatProperties with extension formats is
not valid and causes crashes on some drivers. Revert the list of
VkFormats to the original range.
Change-Id: I2b7f0bd5bb49a66cd073216e93e3bba35c67ab98
|
|
Change-Id: Ia85e0acc67694d859077044ad24b13b0ad834811
|
|
Change-Id: I6acebbcbb9a10d86f3b7ec56148d9a680d085921
|
|
Change-Id: I7b9c729a90571d2888d7a22a9899546c547e6153
|
|
Change-Id: I82cd3f004410dea1d173ef8022091d6f4463d0f5
|
|
Change-Id: I73dac6489e41a94fc53a1c7942888a3a6479a805
|
|
Change-Id: I314ad9bc3e297da93f4d5c1d44289c9cca3a8fde
|
|
Moved 'Demo' declaration to near the top of the file to avoid referencing
problems.
Change-Id: I084231ada5683971baa073f1b761ac214fa02cfd
|
|
When acquiring swapchain images
Change-Id: I8c502e06490f73fc5c9cd8057cd12869a66ea942
|
|
Treat suboptimal as success.
Change-Id: I18f0e8592e212c4d1f99294de24cac945bcdb7c3
|
|
In the cube demos, destroy the instance after closing the
display system connection. It is possible for the driver to
register callback functions with a library like Xlib. If the
driver is unloaded when Xlib calls those callback functions,
a segfault results.
Fixes #1894
Change-Id: Ieb25a00f727c4ac05ff24b41c3582b293abf4b95
|
|
Modify correct uniform buffer for next frame.
Fix fence sync after new throttling scheme.
Select alpha based on capabilities in cube.
Add uniform buffer per swapchain image to cube.
Cube updated to use triple buffering.
Change-Id: Ia929bde0e6c3c2129dc9164a65696af1ee0c0329
|
|
Change-Id: I78b8f5ef63fb2c14a3ce431f3e6f6a809e65972f
|
|
Add CMake flag INSTALL_LVL_FILES (default ON) that when
set to OFF, suppresses the installation of LVL artifacts
when running "make install" on Linux.
This flag doesn't have much use in the LVL repo because
when turned off, CMake won't generate an install target
in the makefiles.
However, for the downstream VulkanTools and VulkanSamples
repos, it can be useful to avoid installing LVL files on
top of files that may have already been installed from
a previous "make install" installation of the LVL repo.
An example of such a use case would be the desire to
have a more up-to-date version of LVL on the system
than the one last merged into the downstream repo.
This new flag is meant to address the need mentioned in
LVL Pull Request #1844.
Change-Id: I421f37ea4e885fbf0a268eff363a28f0537b1953
|
|
smoketest is a standalone app that does not need
additional resources like textures or shader programs.
Change-Id: I335c0baad82343ffd9ff03763c418df11dcc385d
|
|
Change-Id: I8628686d3caad6bed2261431776ac9a55d0c076f
|
|
f06ab9 cube: Throttle rendering rather than presentation didn't
remove the AMD workaround and didn't consider the VK_ERROR_OUT_OF_DATE_KHR
path through resize.
Change-Id: Ib29bffb5b3c2a82456ad734424af3a9348e897c5
|
|
This change is required for upcoming revision of glslang, which requires
location on input/outputs but which does not allow location on
built-ins.
Change-Id: I9ba8989e5ac69bf422e16d4e7ffc7d33b9f71760
|
|
avoids depending on the development symlink
v2: Android doesn't have versioned libs, so don't touch ShellAndroid.cpp
|
|
It is currently impossible to reliably throttle presentation per the
Vulkan spec.
The previous code was relying on fences returned by
vkAcquireNextImageKHR() to throttle. The only information this fence
holds is whether it is possible to render to that image since the *last
time* it was presented, which could have happened several frames ago.
Instead, we can throttle the rendering by passing a fence to
vkQueueSubmit().
The previous code (only the cube.c version) was using a fence there to
synchronize a vkMapMemory() in demo_update_data_buffer(), which doesn't
seem necessary.
Before this commit, we were effectively throttling to the number of
frames in the swapchain rather than on FRAME_LAG.
In the FIFO present mode, this could schedule too much work in the
presentation channel (since we have to account for VBLANK events)
and thus causing undesired side effects, such as stutters when trying
to move the cube window on a desktop, which is I assume why the
throttle code was added in the first place.
|
|
|
|
The VkPhysicalDeviceFeatures dump missed the multiViewport and
samplerAnisotropy fields. The alphaToOne field was at the wrong position
(compared to the official definition in the Vulkan specification).
The fields {vertex,fragment}StoresAndAtomics as well as
shaderTessellationAndGeometryPointSize had the misleading and incorrect
names {vertex,tessellation,geometry}SideEffects.
|
|
Fixes #1664
|
|
The only DbgMsg messages left tell the user, if they use
"--incremental_present", whether the functionality is actually being
used, or if the VK_KHR_incremental_present extension isn't available.
NOTE: When somebody wants to see all of the DbgMsg messages, they should
use "git revert" with this commit.
Change-Id: Ic4189cbec2a64c50135b16c331c808fbbce975dc
|
|
Show how to use the VK_KHR_incremental_present extension. Other notes:
- There are a few diagnostic DbgMsg()'s, which can help show the usage.
- Added a "--incremental_present" command-line option to turn on use of
VK_KHR_incremental_present
- Should compile and run on Windows, Linux, and Android, but the feature will
only really be used on systems that support the extension.
Change-Id: I8a79d806cab7d35197c94dd85358a62b6b7469be
|
|
The only DbgMsg messages left tell the user, if they use
"--display_timing", whether the functionality is actually being used, or
if the VK_GOOGLE_display_timing extension isn't available.
NOTE: When somebody wants to see all of the DbgMsg messages, they should
use "git revert" with this commit.
|