vulkan: enable VK_KHR_shader_expect_assume
This implementation ignores the hints. Acked-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27265>
This commit is contained in:
committed by
Marge Bot
parent
5df7be8017
commit
26c8f13ff5
@@ -294,6 +294,7 @@ get_device_extensions(const struct anv_physical_device *device,
|
||||
.KHR_shader_atomic_int64 = true,
|
||||
.KHR_shader_clock = true,
|
||||
.KHR_shader_draw_parameters = true,
|
||||
.KHR_shader_expect_assume = true,
|
||||
.KHR_shader_float16_int8 = !device->instance->no_16bit,
|
||||
.KHR_shader_float_controls = true,
|
||||
.KHR_shader_integer_dot_product = true,
|
||||
@@ -888,6 +889,9 @@ get_features(const struct anv_physical_device *pdevice,
|
||||
|
||||
/* VK_EXT_attachment_feedback_loop_dynamic_state */
|
||||
.attachmentFeedbackLoopDynamicState = true,
|
||||
|
||||
/* VK_KHR_shader_expect_assume */
|
||||
.shaderExpectAssume = true,
|
||||
};
|
||||
|
||||
/* The new DOOM and Wolfenstein games require depthBounds without
|
||||
|
||||
@@ -239,6 +239,7 @@ get_device_extensions(const struct anv_physical_device *device,
|
||||
.KHR_separate_depth_stencil_layouts = true,
|
||||
.KHR_shader_clock = true,
|
||||
.KHR_shader_draw_parameters = true,
|
||||
.KHR_shader_expect_assume = true,
|
||||
.KHR_shader_float16_int8 = device->info.ver >= 8 && !device->instance->no_16bit,
|
||||
.KHR_shader_float_controls = true,
|
||||
.KHR_shader_integer_dot_product = true,
|
||||
@@ -629,6 +630,9 @@ get_features(const struct anv_physical_device *pdevice,
|
||||
|
||||
/* VK_EXT_depth_clip_control */
|
||||
.depthClipControl = true,
|
||||
|
||||
/* VK_KHR_shader_expect_assume */
|
||||
.shaderExpectAssume = true,
|
||||
};
|
||||
|
||||
/* We can't do image stores in vec4 shaders */
|
||||
|
||||
Reference in New Issue
Block a user