diff options
author | Gert Wollny <[email protected]> | 2020-05-08 17:46:49 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-19 07:52:13 +0000 |
commit | 2f3ce9b1d0c5ebf37c8f33d7cfa67d6b3a23a17b (patch) | |
tree | 86e55f58f347d3aeeba843cb3c86de4e532c71b6 /src/gallium/drivers/r600 | |
parent | fd99a7737f70a3bf05492c7a72f4dd0509e09be2 (diff) |
r600/sfn: assert when alu dest is missing
Signed-off-by: Gert Wollny <[email protected]>
Reviewed-by: Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5085>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/sfn/sfn_instruction_alu.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/sfn/sfn_instruction_alu.cpp b/src/gallium/drivers/r600/sfn/sfn_instruction_alu.cpp index 4143b9c52d7..c059749afd0 100644 --- a/src/gallium/drivers/r600/sfn/sfn_instruction_alu.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_instruction_alu.cpp @@ -56,6 +56,7 @@ AluInstruction::AluInstruction(EAluOp opcode, PValue dest, m_bank_swizzle(alu_vec_unknown), m_cf_type(cf_alu) { + assert(dest); m_src.swap(src); for (auto f : flags) m_flags.set(f); |