zink: Enable GL_EXT_depth_bounds_test
Available since Vulkan 1.0, and in fact already wired up, just not advertised. It looks like we could make this dynamic state but this works for now. Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9371>
This commit is contained in:
@@ -319,7 +319,7 @@ Khronos, ARB, and OES extensions that are not part of any OpenGL or OpenGL ES ve
|
|||||||
GL_ARB_sparse_texture_clamp not started
|
GL_ARB_sparse_texture_clamp not started
|
||||||
GL_ARB_texture_filter_minmax not started
|
GL_ARB_texture_filter_minmax not started
|
||||||
GL_EXT_color_buffer_half_float DONE (gallium drivers supporting required formats)
|
GL_EXT_color_buffer_half_float DONE (gallium drivers supporting required formats)
|
||||||
GL_EXT_depth_bounds_test DONE (i965/gen12+, nv50, nvc0, radeonsi, softpipe, swr)
|
GL_EXT_depth_bounds_test DONE (i965/gen12+, nv50, nvc0, radeonsi, softpipe, swr, zink)
|
||||||
GL_EXT_memory_object DONE (radeonsi)
|
GL_EXT_memory_object DONE (radeonsi)
|
||||||
GL_EXT_memory_object_fd DONE (radeonsi)
|
GL_EXT_memory_object_fd DONE (radeonsi)
|
||||||
GL_EXT_memory_object_win32 not started
|
GL_EXT_memory_object_win32 not started
|
||||||
|
@@ -17,4 +17,4 @@ VK_KHR_workgroup_memory_explicit_layout on Intel, RADV
|
|||||||
DRM format modifiers for AMD.
|
DRM format modifiers for AMD.
|
||||||
VK_KHR_zero_initialize_workgroup_memory on Intel, RADV
|
VK_KHR_zero_initialize_workgroup_memory on Intel, RADV
|
||||||
Zink exposes GL 4.6 and ES 3.1
|
Zink exposes GL 4.6 and ES 3.1
|
||||||
GL_EXT_depth_bounds_test on softpipe
|
GL_EXT_depth_bounds_test on softpipe, zink
|
||||||
|
@@ -484,6 +484,9 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||||||
case PIPE_CAP_DMABUF:
|
case PIPE_CAP_DMABUF:
|
||||||
return screen->info.have_KHR_external_memory_fd;
|
return screen->info.have_KHR_external_memory_fd;
|
||||||
|
|
||||||
|
case PIPE_CAP_DEPTH_BOUNDS_TEST:
|
||||||
|
return screen->info.feats.features.depthBounds;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return u_pipe_screen_get_param_defaults(pscreen, param);
|
return u_pipe_screen_get_param_defaults(pscreen, param);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user