aco: implement nir_intrinsic_shader_clock with device scope
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 20 May 2020 07:55:37 +0000 (09:55 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 24 May 2020 18:37:52 +0000 (20:37 +0200)
commitcecd4aad4605de47c056913ed430ad38f14625e5
treee97cb087f71075ad09efc604104dd9557673efd0
parent37c88c670f79f4833856e9193d3b7696c8b5ad8a
aco: implement nir_intrinsic_shader_clock with device scope

Use s_memrealtime instead.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5117>
src/amd/compiler/aco_instruction_selection.cpp