Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Vulkan] Support uniform buffer object for passing many scalar arguments (Take 2) #7833

Merged
merged 28 commits into from
Apr 16, 2021
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
adfbc1c
reimport vbo change
masahi Apr 11, 2021
6db67af
deferred memcpy
masahi Apr 11, 2021
510425c
refactoring CreateBuffer and FindMemoryType
masahi Apr 11, 2021
cec63f9
add case stub for the case when host visible buffer is not available
masahi Apr 11, 2021
411c780
segfault on host to device copy
masahi Apr 11, 2021
f9deb3e
Revert changes for storage buffer backed uniform
masahi Apr 12, 2021
4ff52ff
move VulkanStagingBuffer out of header
masahi Apr 12, 2021
79a3935
introduce VulkanHostvisibleBuffer
masahi Apr 12, 2021
a1b57b5
refactor to use VulkanBuffer
masahi Apr 12, 2021
a726386
refactoring CreateBuffer and FindMemoryType
masahi Apr 12, 2021
9441b7e
refactor staging buffer alloc
masahi Apr 12, 2021
dad2a17
refactor staging buffer realloc
masahi Apr 12, 2021
cd0ae06
add AllocateUniformBuffer
masahi Apr 12, 2021
2f15610
working
masahi Apr 12, 2021
895f965
remove UniformBuffer from pipeline
masahi Apr 12, 2021
04f1492
remove CreateBuffer overload
masahi Apr 12, 2021
ff0f265
clean up delete
masahi Apr 12, 2021
c01d760
return VulkanShader from codegen
masahi Apr 12, 2021
822b232
remove GetMaxPushConstantsSize()
masahi Apr 12, 2021
8ed7d74
check use_ubo flag in runtime
masahi Apr 12, 2021
3dfafdd
remove memset
masahi Apr 12, 2021
8e1d68a
fix cpplint
masahi Apr 13, 2021
056e144
LOG FATAL if no ubo capable memory is found
masahi Apr 13, 2021
e8de7f2
Make ubo and push constant handling logic closer for readability
masahi Apr 13, 2021
33fb8e6
update Flag mask
masahi Apr 13, 2021
9df431f
add sync after UBO realloc. Bugfix using CPU dev id on stream sync
masahi Apr 14, 2021
98e9016
add doc
masahi Apr 15, 2021
3b6fa81
Bugfix sync should be before realloc
masahi Apr 15, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading