Module: wine Branch: master Commit: b64cc15d615659200643f0094f07133ec8b028b9 URL: https://gitlab.winehq.org/wine/wine/-/commit/b64cc15d615659200643f0094f07133...
Author: Zebediah Figura zfigura@codeweavers.com Date: Sat Nov 11 21:32:17 2023 -0600
wined3d: Introduce a separate fp_disable() method.
Analogous to shader_disable().
We'd like to pass a wined3d_state pointer to fp_enable() to let it handle actually compiling the fragment pipeline, which doesn't mesh well conceptually with its use in shader_disable().
---
dlls/wined3d/arb_program_shader.c | 29 ++++++++++++------- dlls/wined3d/ati_fragment_shader.c | 27 ++++++++++++------ dlls/wined3d/ffp_gl.c | 37 ++++++++++++------------ dlls/wined3d/glsl_shader.c | 25 +++++++++------- dlls/wined3d/nvidia_texture_shader.c | 55 ++++++++++++++++++++++++------------ dlls/wined3d/shader.c | 2 +- dlls/wined3d/shader_spirv.c | 8 +++++- dlls/wined3d/wined3d_private.h | 1 + 8 files changed, 117 insertions(+), 67 deletions(-)