anv: implement VK_KHR_ray_tracing_position_fetch

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <f{merge_request.web_url}>
This commit is contained in:
Lionel Landwerlin
2022-12-01 23:30:59 +02:00
committed by Marge Bot
parent 5cdcc22736
commit f3d648d20d
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -253,6 +253,7 @@ get_device_extensions(const struct anv_physical_device *device,
.KHR_ray_query = rt_enabled,
.KHR_ray_tracing_maintenance1 = rt_enabled,
.KHR_ray_tracing_pipeline = rt_enabled,
.KHR_ray_tracing_position_fetch = rt_enabled,
.KHR_relaxed_block_layout = true,
.KHR_sampler_mirror_clamp_to_edge = true,
.KHR_sampler_ycbcr_conversion = true,
@@ -796,6 +797,9 @@ get_features(const struct anv_physical_device *pdevice,
/* VK_EXT_vertex_input_dynamic_state */
.vertexInputDynamicState = true,
/* VK_KHR_ray_tracing_position_fetch */
.rayTracingPositionFetch = rt_enabled,
};
/* The new DOOM and Wolfenstein games require depthBounds without
+1
View File
@@ -188,6 +188,7 @@ anv_shader_stage_to_nir(struct anv_device *device,
.ray_cull_mask = rt_enabled,
.ray_query = rt_enabled,
.ray_tracing = rt_enabled,
.ray_tracing_position_fetch = rt_enabled,
.shader_clock = true,
.shader_viewport_index_layer = true,
.stencil_export = true,