Fixes:
dEQP-VK.renderpass.suballocation.subpass_dependencies.separate_channels.d24_unorm_s8_uint
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
pipeline->subpass->ds_attachment.attachment != VK_ATTACHMENT_UNUSED;
if (ds_info && ds_info->depthTestEnable && has_ds_attachment) {
- config.z_updates_enable = true;
+ config.z_updates_enable = ds_info->depthWriteEnable;
config.depth_test_function = ds_info->depthCompareOp;
} else {
config.depth_test_function = VK_COMPARE_OP_ALWAYS;