rusticl/mesa: add bx() method to PipeTransfer
Signed-off-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18793>
This commit is contained in:
@@ -62,6 +62,10 @@ impl PipeTransfer {
|
||||
unsafe { (*self.pipe).layer_stride }
|
||||
}
|
||||
|
||||
pub fn bx(&self) -> &pipe_box {
|
||||
unsafe { &(*self.pipe).box_ }
|
||||
}
|
||||
|
||||
pub fn with_ctx(self, ctx: &PipeContext) -> GuardedPipeTransfer {
|
||||
GuardedPipeTransfer {
|
||||
inner: self,
|
||||
|
Reference in New Issue
Block a user