Module: Mesa
Branch: master
Commit: 2ddd44d941648d49dc0d917e03a579baec3590d9
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ddd44d941648d49dc0d917e03a579baec3590d9

Author: Dave Airlie <[email protected]>
Date:   Thu Oct 11 13:44:02 2018 +1000

r600: make suballocator 256-bytes align

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108311
Cc: <[email protected]>

---

 src/gallium/drivers/r600/r600_query.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/r600/r600_query.c 
b/src/gallium/drivers/r600/r600_query.c
index ccabab9cdb..92f243b5c9 100644
--- a/src/gallium/drivers/r600/r600_query.c
+++ b/src/gallium/drivers/r600/r600_query.c
@@ -1636,7 +1636,7 @@ static void r600_query_hw_get_result_resource(struct 
r600_common_context *rctx,
        }
 
        if (query->buffer.previous) {
-               u_suballocator_alloc(rctx->allocator_zeroed_memory, 16, 16,
+               u_suballocator_alloc(rctx->allocator_zeroed_memory, 16, 256,
                                     &tmp_buffer_offset, &tmp_buffer);
                if (!tmp_buffer)
                        return;

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to