freedreno/ir3: split out INSTR4F instructions
authorRob Clark <robdclark@gmail.com>
Wed, 8 Nov 2017 23:08:16 +0000 (18:08 -0500)
committerRob Clark <robdclark@gmail.com>
Sun, 12 Nov 2017 17:28:59 +0000 (12:28 -0500)
commit2f8bdf2e2b8cc516b89cd042962d5dab81a695ec
treece50aa3ab2dcfe9e2a451c8f7b1521d6262f6900
parent0038deb256dd17d2c1cc61d7def422a08fef9fd1
freedreno/ir3: split out INSTR4F instructions

Atomic instructions take a different # of src args depending on .g or .l
variant, split these out into different helpers with INSTR*F() helper
macro that lets you specify instruction flag.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3.h
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c