Module: Mesa
Branch: main
Commit: 186a22712ff5f6dc2d72deee8abaedfc794c3a08
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=186a22712ff5f6dc2d72deee8abaedfc794c3a08

Author: Karol Herbst <[email protected]>
Date:   Wed Nov 16 18:13:12 2022 +0100

rusticl: allocate printf buffer as staging

Signed-off-by: Karol Herbst <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20161>

---

 src/gallium/frontends/rusticl/core/kernel.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/frontends/rusticl/core/kernel.rs 
b/src/gallium/frontends/rusticl/core/kernel.rs
index f1dde309fa2..a043407d77a 100644
--- a/src/gallium/frontends/rusticl/core/kernel.rs
+++ b/src/gallium/frontends/rusticl/core/kernel.rs
@@ -1024,7 +1024,7 @@ impl Kernel {
                     let buf = Arc::new(
                         q.device
                             .screen
-                            .resource_create_buffer(printf_size, 
ResourceType::Normal)
+                            .resource_create_buffer(printf_size, 
ResourceType::Staging)
                             .unwrap(),
                     );
 

Reply via email to