qt5base-lts/tests/manual/rhi
Laszlo Agocs 51c22a1f51 rhi: Add support for 3D textures
Supported on OpenGL (and ES) 3.0+ and everywhere else.

Can also be a render target, targeting a single slice at a time.

Can be mipmapped, cannot be multisample.

Reading back a given slice from a 3D texture is left as a future
exercise, for now it is documented to be not supported.

Upload is going to be limited to one slice in one upload entry,
just like we specify one face or one miplevel for cubemap and
mipmapped textures.

This also involves some welcome hardening of how texture subresources
are described internally: as we no longer can count on a layer index
between 0..5 (as is the case with cubemaps), simply arrays with
MAX_LAYER==6 are no longer sufficient. Switch to sufficiently dynamic
data structures where applicable.

On Vulkan rendering to a slice needs Vulkan 1.1 (and 1.1 enabled on the
VkInstance).

Task-number: QTBUG-89703
Change-Id: Ide6c20124ec9201d94ffc339dd479cd1ece777b0
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
2021-05-31 17:16:57 +02:00
..
compressedtexture_bc1 CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
compressedtexture_bc1_subupload CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
computebuffer CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
computeimage CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
cubemap rhi: vulkan: Fix mipmap generation for cubemaps 2020-09-25 09:24:25 +02:00
cubemap_render rhi: Regenerate shaders for some manual tests 2020-10-11 10:58:56 +02:00
cubemap_scissor CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
float16texture_with_compute rhi: Regenerate shaders for some manual tests 2020-10-11 10:58:56 +02:00
floattexture CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
hellominimalcrossgfxtriangle rhi: manual tests: Switch to VK_LAYER_KHRONOS_validation 2021-05-31 17:16:45 +02:00
instancing rhi: Fix up vertex inputs with matrices 2020-10-14 22:35:19 +02:00
mrt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
msaarenderbuffer CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
msaatexture CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
multiwindow rhi: manual tests: Switch to VK_LAYER_KHRONOS_validation 2021-05-31 17:16:45 +02:00
multiwindow_threaded rhi: manual tests: Switch to VK_LAYER_KHRONOS_validation 2021-05-31 17:16:45 +02:00
noninstanced rhi: Make the new direct buffer update available for non-uniform buffers 2020-10-12 07:55:37 +02:00
offscreen rhi: manual tests: Switch to VK_LAYER_KHRONOS_validation 2021-05-31 17:16:45 +02:00
qrhiprof Replace discouraged Q_MOVABLE_TYPE by Q_RELOCATABLE_TYPE 2020-11-30 17:16:21 +01:00
shadowmap rhi: shadowmap manual test: use Nearest filtering 2021-01-04 17:30:26 +01:00
shared rhi: Add support for 3D textures 2021-05-31 17:16:57 +02:00
tex3d rhi: Add support for 3D textures 2021-05-31 17:16:57 +02:00
texuploads CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
triquadcube rhi: Pipeline cache load/save 2021-01-22 10:26:03 +01:00
CMakeLists.txt rhi: Add support for 3D textures 2021-05-31 17:16:57 +02:00
rhi.pro rhi: Add support for 3D textures 2021-05-31 17:16:57 +02:00