Zebediah Figura : wined3d: Use the chunk allocator for GL uniform buffers.

Alexandre Julliard julliard at winehq.org
Wed Feb 9 16:03:51 CST 2022


Module: wine
Branch: master
Commit: 86f0ae8efb17ce688986971d24c3e25840a2beef
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=86f0ae8efb17ce688986971d24c3e25840a2beef

Author: Zebediah Figura <zfigura at codeweavers.com>
Date:   Tue Feb  8 20:34:03 2022 -0600

wined3d: Use the chunk allocator for GL uniform buffers.

Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wined3d/context_gl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/wined3d/context_gl.c b/dlls/wined3d/context_gl.c
index 0a904615a83..7b40b1de0fb 100644
--- a/dlls/wined3d/context_gl.c
+++ b/dlls/wined3d/context_gl.c
@@ -3120,6 +3120,7 @@ static bool use_buffer_chunk_suballocation(const struct wined3d_gl_info *gl_info
         case GL_ATOMIC_COUNTER_BUFFER:
         case GL_DRAW_INDIRECT_BUFFER:
         case GL_PIXEL_UNPACK_BUFFER:
+        case GL_UNIFORM_BUFFER:
             return true;
 
         case GL_TEXTURE_BUFFER:




More information about the wine-cvs mailing list