diff options
author | Rhys Perry <[email protected]> | 2019-10-10 17:04:47 +0100 |
---|---|---|
committer | Rhys Perry <[email protected]> | 2019-10-16 15:31:19 +0100 |
commit | ded51b13dac67799c3ad36aaf6e3a31de2643fd1 (patch) | |
tree | f2386192ad17789ca5007b1785136cbdbdee356f /src/amd | |
parent | d7838152f52f6622b6a2a0375d107e0b8953e165 (diff) |
aco: don't CSE s_memtime
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Daniel Schürmann <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/compiler/aco_instruction_selection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/compiler/aco_instruction_selection.cpp b/src/amd/compiler/aco_instruction_selection.cpp index bdb7e2a549e..0c952739fa2 100644 --- a/src/amd/compiler/aco_instruction_selection.cpp +++ b/src/amd/compiler/aco_instruction_selection.cpp @@ -5839,7 +5839,7 @@ void visit_intrinsic(isel_context *ctx, nir_intrinsic_instr *instr) break; } case nir_intrinsic_shader_clock: - bld.smem(aco_opcode::s_memtime, Definition(get_ssa_temp(ctx, &instr->dest.ssa))); + bld.smem(aco_opcode::s_memtime, Definition(get_ssa_temp(ctx, &instr->dest.ssa)), false); break; case nir_intrinsic_load_vertex_id_zero_base: { Temp dst = get_ssa_temp(ctx, &instr->dest.ssa); |