radv: enable VK_EXT_shader_stencil_export
The driver already supports exporting the stencil value. The following CTS test now pass: dEQP-VK.pipeline.shader_stencil_export.op_replace Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
@@ -100,6 +100,7 @@ EXTENSIONS = [
|
|||||||
Extension('VK_EXT_global_priority', 1, 'device->rad_info.has_ctx_priority'),
|
Extension('VK_EXT_global_priority', 1, 'device->rad_info.has_ctx_priority'),
|
||||||
Extension('VK_EXT_sampler_filter_minmax', 1, 'device->rad_info.chip_class >= CIK'),
|
Extension('VK_EXT_sampler_filter_minmax', 1, 'device->rad_info.chip_class >= CIK'),
|
||||||
Extension('VK_EXT_shader_viewport_index_layer', 1, True),
|
Extension('VK_EXT_shader_viewport_index_layer', 1, True),
|
||||||
|
Extension('VK_EXT_shader_stencil_export', 1, True),
|
||||||
Extension('VK_EXT_vertex_attribute_divisor', 1, True),
|
Extension('VK_EXT_vertex_attribute_divisor', 1, True),
|
||||||
Extension('VK_AMD_draw_indirect_count', 1, True),
|
Extension('VK_AMD_draw_indirect_count', 1, True),
|
||||||
Extension('VK_AMD_gcn_shader', 1, True),
|
Extension('VK_AMD_gcn_shader', 1, True),
|
||||||
|
@@ -222,6 +222,7 @@ radv_shader_compile_to_nir(struct radv_device *device,
|
|||||||
.shader_viewport_index_layer = true,
|
.shader_viewport_index_layer = true,
|
||||||
.descriptor_array_dynamic_indexing = true,
|
.descriptor_array_dynamic_indexing = true,
|
||||||
.runtime_descriptor_array = true,
|
.runtime_descriptor_array = true,
|
||||||
|
.stencil_export = true,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
entry_point = spirv_to_nir(spirv, module->size / 4,
|
entry_point = spirv_to_nir(spirv, module->size / 4,
|
||||||
|
Reference in New Issue
Block a user