aco: fix emitting SMEM instructions with no operands on GFX6-GFX7
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 15 Jan 2020 12:08:17 +0000 (13:08 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 16 Jan 2020 07:18:18 +0000 (08:18 +0100)
commit68abc0731715b2ec3048d0944250b96a5302b4bc
tree676fcc44b8e391f49da8834e0fd457bc043375bd
parente5226cff75fc42bdd5a03287a8061f1d8992e062
aco: fix emitting SMEM instructions with no operands on GFX6-GFX7

Like s_memtime.

Fixes dEQP-VK.glsl.shader_clock.* on GFX6.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3407>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3407>
src/amd/compiler/aco_assembler.cpp