radv: implement VK_KHR_shader_clock

NIR->LLVM and ACO already support nir_intrinsic_shader_clock.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
Samuel Pitoiset
2019-10-07 10:26:22 +02:00
parent 0b7ecfdda5
commit cbd6f0a0c2
4 changed files with 10 additions and 1 deletions

View File

@@ -357,6 +357,7 @@ radv_shader_compile_to_nir(struct radv_device *device,
.physical_storage_buffer_address = true,
.post_depth_coverage = true,
.runtime_descriptor_array = true,
.shader_clock = true,
.shader_viewport_index_layer = true,
.stencil_export = true,
.storage_8bit = !device->physical_device->use_aco,