mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-24 02:34:17 +08:00
lavapipe: enable VK_EXT_depth_range_unrestricted.
This passes all the VK CTS tests. Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17612>
This commit is contained in:
parent
876db77bae
commit
62207cf885
@ -146,6 +146,7 @@ static const struct vk_device_extension_table lvp_device_extensions_supported =
|
||||
.EXT_conditional_rendering = true,
|
||||
.EXT_depth_clip_enable = true,
|
||||
.EXT_depth_clip_control = true,
|
||||
.EXT_depth_range_unrestricted = true,
|
||||
.EXT_extended_dynamic_state = true,
|
||||
.EXT_extended_dynamic_state2 = true,
|
||||
.EXT_external_memory_host = true,
|
||||
|
@ -4175,6 +4175,7 @@ VkResult lvp_execute_cmds(struct lvp_device *device,
|
||||
state->rs_dirty = true;
|
||||
state->vp_dirty = true;
|
||||
state->rs_state.point_tri_clip = true;
|
||||
state->rs_state.unclamped_fragment_depth_values = device->vk.enabled_extensions.EXT_depth_range_unrestricted;
|
||||
for (enum pipe_shader_type s = PIPE_SHADER_VERTEX; s < PIPE_SHADER_TYPES; s++) {
|
||||
for (unsigned i = 0; i < ARRAY_SIZE(state->cso_ss_ptr[s]); i++)
|
||||
state->cso_ss_ptr[s][i] = &state->ss[s][i];
|
||||
|
Loading…
Reference in New Issue
Block a user