mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
rusticl: remove blit code
I never ended up using it Signed-off-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19184>
This commit is contained in:
parent
d7e2ea803b
commit
2285011a3f
1 changed files with 0 additions and 11 deletions
|
|
@ -265,16 +265,6 @@ impl PipeContext {
|
|||
unsafe { self.pipe.as_ref().texture_unmap.unwrap()(self.pipe.as_ptr(), tx) };
|
||||
}
|
||||
|
||||
pub fn blit(&self, src: &PipeResource, dst: &PipeResource) {
|
||||
let mut blit_info = pipe_blit_info::default();
|
||||
blit_info.src.resource = src.pipe();
|
||||
blit_info.dst.resource = dst.pipe();
|
||||
|
||||
println!("blit not implemented!");
|
||||
|
||||
unsafe { self.pipe.as_ref().blit.unwrap()(self.pipe.as_ptr(), &blit_info) }
|
||||
}
|
||||
|
||||
pub fn create_compute_state(
|
||||
&self,
|
||||
nir: &NirShader,
|
||||
|
|
@ -473,7 +463,6 @@ fn has_required_cbs(c: &pipe_context) -> bool {
|
|||
c.destroy.is_some()
|
||||
&& c.bind_compute_state.is_some()
|
||||
&& c.bind_sampler_states.is_some()
|
||||
&& c.blit.is_some()
|
||||
&& c.buffer_map.is_some()
|
||||
&& c.buffer_subdata.is_some()
|
||||
&& c.buffer_unmap.is_some()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue