diff options
author | Timothy Arceri <[email protected]> | 2018-02-02 13:55:25 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-02-07 08:43:08 +1100 |
commit | f12e2f9c12cae539ecc43578d3e3a6a33df473bc (patch) | |
tree | ed5a2c375ac685e61eb5f0651fa036b10e65763f /src | |
parent | b7b89bbddb8e78bdc93cf7a64c191ed1be647f13 (diff) |
ac: implement nir_intrinsic_shader_clock
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/common/ac_nir_to_llvm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index 9dcbe253803..4588feb690e 100644 --- a/src/amd/common/ac_nir_to_llvm.c +++ b/src/amd/common/ac_nir_to_llvm.c @@ -4439,6 +4439,9 @@ static void visit_intrinsic(struct ac_nir_context *ctx, case nir_intrinsic_image_size: result = visit_image_size(ctx, instr); break; + case nir_intrinsic_shader_clock: + result = ac_build_shader_clock(&ctx->ac); + break; case nir_intrinsic_discard: case nir_intrinsic_discard_if: emit_discard(ctx, instr); |