]> git.tdb.fi Git - libs/gl.git/commit
Implement textures and samplers for Vulkan
authorMikko Rasa <tdb@tdb.fi>
Sun, 21 Nov 2021 23:41:45 +0000 (01:41 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 22 Nov 2021 11:26:31 +0000 (13:26 +0200)
commita16145549dc87c3b12671f797bd77b14bcc7786b
treedcb4da340f686baf2d55c238faa7876fa439dbf2
parentbbdf52425b736a59d01dda215458c3a1c9bdb320
Implement textures and samplers for Vulkan

Currently render target textures get a useless layout transition to
SHADER_READ_ONLY_OPTIMAL if there's any transfers on the same frame.

Mipmap generation and asynchronous uploading of textures does not work
yet.
28 files changed:
source/backends/vulkan/commands_backend.cpp
source/backends/vulkan/destroyqueue.cpp
source/backends/vulkan/destroyqueue.h
source/backends/vulkan/framebuffer_backend.cpp
source/backends/vulkan/framebuffer_backend.h
source/backends/vulkan/memoryallocator.cpp
source/backends/vulkan/memoryallocator.h
source/backends/vulkan/pipelinestate_backend.cpp
source/backends/vulkan/sampler_backend.cpp
source/backends/vulkan/sampler_backend.h
source/backends/vulkan/synchronizer.cpp
source/backends/vulkan/synchronizer.h
source/backends/vulkan/texture1d_backend.cpp
source/backends/vulkan/texture1d_backend.h
source/backends/vulkan/texture2d_backend.cpp
source/backends/vulkan/texture2d_backend.h
source/backends/vulkan/texture2darray_backend.cpp
source/backends/vulkan/texture2darray_backend.h
source/backends/vulkan/texture2dmultisample_backend.cpp
source/backends/vulkan/texture2dmultisample_backend.h
source/backends/vulkan/texture3d_backend.cpp
source/backends/vulkan/texture3d_backend.h
source/backends/vulkan/texture_backend.cpp
source/backends/vulkan/texture_backend.h
source/backends/vulkan/texturecube_backend.cpp
source/backends/vulkan/texturecube_backend.h
source/backends/vulkan/vulkan.cpp
source/backends/vulkan/vulkan.h