51c22a1f51
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>
31 lines
549 B
Prolog
31 lines
549 B
Prolog
TEMPLATE = subdirs
|
|
|
|
SUBDIRS += \
|
|
hellominimalcrossgfxtriangle \
|
|
compressedtexture_bc1 \
|
|
compressedtexture_bc1_subupload \
|
|
texuploads \
|
|
msaatexture \
|
|
msaarenderbuffer \
|
|
cubemap \
|
|
cubemap_scissor \
|
|
cubemap_render \
|
|
multiwindow \
|
|
multiwindow_threaded \
|
|
triquadcube \
|
|
offscreen \
|
|
floattexture \
|
|
float16texture_with_compute \
|
|
mrt \
|
|
shadowmap \
|
|
computebuffer \
|
|
computeimage \
|
|
instancing \
|
|
noninstanced \
|
|
tex3d
|
|
|
|
qtConfig(widgets) {
|
|
SUBDIRS += \
|
|
qrhiprof
|
|
}
|