nak: pre-Volta uses r0 to output the final GS handle

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30402>
This commit is contained in:
Faith Ekstrand
2024-07-27 14:38:12 -05:00
committed by Marge Bot
parent 63db105014
commit 76e66beb5a

View File

@@ -3049,6 +3049,8 @@ impl<'a> ShaderFromNir<'a> {
if self.sm.sm() >= 70 {
b.push_op(OpOutFinal { handle: handle });
} else {
b.push_op(OpRegOut { srcs: vec![handle] });
}
}
nir_intrinsic_vote_all