spirv: add ReadClockKHR support with device scope
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 20 May 2020 07:54:50 +0000 (09:54 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 24 May 2020 18:37:50 +0000 (20:37 +0200)
commit37c88c670f79f4833856e9193d3b7696c8b5ad8a
treea467069f8ab292030ae684bec51d52b8bd880544
parent769bf48d1667dc7836d9c4af01c37005b2dd96f5
spirv: add ReadClockKHR support with device scope

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5117>
src/compiler/glsl/glsl_to_nir.cpp
src/compiler/nir/nir_intrinsics.py
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_amd.c