mesa/src
Brian Ho d6d5ee29ab turnip: Correctly set layer stride for 3D images
Previously we were using layout.layer_size for the layer stride, but
in Vulkan, you can alias a 3D image as an array of 2D images via the
VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT flag. One reason to use
this behavior is so the geometry shader can write to a specific
depth in a 3D framebuffer with gl_Layer.

Since the 3D image is not a *true* layered image, layer_size is 0.
Instead, we can copy what freedreno does and use the slice size.

Fixes dEQP-VK.geometry.layered.3d.*

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4541>
2020-04-15 16:19:34 +00:00
..
amd radv/aco: do not advertise VK_KHR_shader_subgroup_extended_types 2020-04-15 14:45:43 +02:00
broadcom drm-shim: return device platform as specified 2020-04-03 21:14:18 +00:00
compiler glsl/list: Fix undefined behaviour of foreach_* macros 2020-04-14 19:29:38 +00:00
drm-shim drm-shim: stub libdrm's use of realpath() 2020-04-03 21:14:18 +00:00
egl EGL: Add eglSetDamageRegionKHR to GLVND dispatch list 2020-04-03 12:22:51 +01:00
etnaviv drm-shim: return device platform as specified 2020-04-03 21:14:18 +00:00
freedreno turnip: Correctly set layer stride for 3D images 2020-04-15 16:19:34 +00:00
gallium gallium: initialize viewport swizzle in cso_set_viewport_dims 2020-04-15 16:43:57 +02:00
gbm meson: move the generic symbols check arguments to a common variable 2019-11-05 20:30:47 +00:00
getopt
glx glx: omit loader_loader() for macOS 2020-04-15 11:37:21 +00:00
gtest meson: gtest needs pthreads 2019-11-07 06:11:19 -08:00
hgl scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00
imgui meson: drop `intel_` prefix on imgui_core 2019-12-10 15:16:02 +00:00
intel intel/compiler: Remove cs_prog_data->threads 2020-04-09 19:23:20 -07:00
loader loader: fallback to kernel name, if PCI fails 2020-04-01 16:57:22 +01:00
mapi mesa: fix enum value of VIEWPORT_SWIZZLE_POSITIVE_W_NV 2020-04-15 16:43:36 +02:00
mesa meson: Specify the maximum required libdrm in dri.pc 2020-04-13 22:07:41 +00:00
panfrost pan/bit: Add BI_CONVERT tests 2020-04-13 22:32:40 +00:00
util util: move and adjust the vertex upload heuristic equation from u_vbuf 2020-04-06 10:30:10 -04:00
vulkan vulkan: drop unused include directories 2020-03-28 21:36:54 +01:00
SConscript scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00
meson.build meson: inline `inc_common` 2020-03-28 21:36:54 +01:00