Module: wine
Branch: master
Commit: c065b4fe0b3622e0c737a4c7c1c514273ad2d8a7
URL: https://gitlab.winehq.org/wine/wine/-/commit/c065b4fe0b3622e0c737a4c7c1c514…
Author: Zebediah Figura <zfigura(a)codeweavers.com>
Date: Sun Feb 19 17:33:03 2023 -0600
wined3d: Store push constants in wined3d_buffers in struct wined3d_state.
We will need them in buffers for Vulkan, as well as for software
vertex shaders. Currently we simply store them in sysmem buffers and
read directly back out of them to load GL uniforms.
This does decrease memory usage a bit for d3d10+.
---
dlls/wined3d/arb_program_shader.c | 69 ++++++++++++++++---------
dlls/wined3d/buffer.c | 2 +-
dlls/wined3d/context_gl.c | 2 +-
dlls/wined3d/cs.c | 105 +++++++++++++++++++++-----------------
dlls/wined3d/glsl_shader.c | 69 ++++++++++++++++---------
dlls/wined3d/stateblock.c | 6 ---
dlls/wined3d/wined3d_private.h | 44 ++++++----------
7 files changed, 166 insertions(+), 131 deletions(-)
Module: wine
Branch: master
Commit: a10540753cf0c597981c910a877b3794351acdb5
URL: https://gitlab.winehq.org/wine/wine/-/commit/a10540753cf0c597981c910a877b37…
Author: Zebediah Figura <zfigura(a)codeweavers.com>
Date: Thu Dec 29 15:33:59 2022 -0600
wined3d: Move wined3d_device_apply_stateblock() to stateblock.c.
All other code touching stateblocks is in stateblock.c; this is a more intuitive
and modular place for it. This may merit renaming the function, but should be a
subsequent commit.
---
dlls/wined3d/device.c | 934 ----------------------------------------
dlls/wined3d/stateblock.c | 1034 +++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 1034 insertions(+), 934 deletions(-)