blob: 300f2ec2e92084df8d626b7af6aa53cd16536135 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef SFN_EMITSSBOINSTRUCTION_H
#define SFN_EMITSSBOINSTRUCTION_H
#include "sfn_emitinstruction.h"
namespace r600 {
class EmitSSBOInstruction: public EmitInstruction {
public:
using EmitInstruction::EmitInstruction;
private:
bool do_emit(nir_instr *instr);
bool emit_atomic(const nir_intrinsic_instr* instr);
bool emit_unary_atomic(const nir_intrinsic_instr* instr);
bool emit_atomic_add(const nir_intrinsic_instr* instr);
bool emit_atomic_inc(const nir_intrinsic_instr* instr);
bool emit_atomic_pre_dec(const nir_intrinsic_instr* instr);
ESDOp get_opcode(nir_intrinsic_op opcode);
GPRVector make_dest(const nir_intrinsic_instr* instr);
PValue m_atomic_limit;
};
}
#endif // SFN_EMITSSBOINSTRUCTION_H
|