Alexandre Julliard pushed to branch master at wine / wine
Commits: f35c563a by Elizabeth Figura at 2025-03-24T22:40:51+01:00 wined3d: Feed fog constants through a push constant buffer.
- - - - - 960675c2 by Elizabeth Figura at 2025-03-24T22:40:51+01:00 wined3d: Introduce a separate wined3d_extra_ps_args state for point sprite enable.
This contians pixel shader states part of the Direct3D 1-9 FFP, which are also used when using shaders, which are not implemented as uniforms but rather will eventually affect ps_compile_args. We don't use ps_compile_args directly, because it contains states other than those controlled by the stateblock.
Simply put, the point here is to provide a more directed alternative to the render states array, which should itself go away, and at the same time to invalidate STATE_SHADER(WINED3D_SHADER_TYPE_PIXEL) immediately rather than through the state table.
- - - - - 7a9727fe by Elizabeth Figura at 2025-03-24T22:40:51+01:00 wined3d/glsl: Move legacy shade mode to shader_glsl_apply_draw_state().
- - - - - 71d1fd5c by Elizabeth Figura at 2025-03-24T22:40:51+01:00 wined3d: Partially move shade mode to wined3d_extra_ps_args.
We still need to pass it through the CS, for the sake of the vertex side.
- - - - -
8 changed files:
- dlls/wined3d/cs.c - dlls/wined3d/ffp_gl.c - dlls/wined3d/glsl_shader.c - dlls/wined3d/shader.c - dlls/wined3d/shader_spirv.c - dlls/wined3d/stateblock.c - dlls/wined3d/utils.c - dlls/wined3d/wined3d_private.h
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/3bc436d7e1f1d6882ccd9931b0d2b2...