Alexandre Julliard pushed to branch master at wine / wine
Commits: f22b858b by Elizabeth Figura at 2025-03-11T12:30:58+01:00 wined3d: Avoid indexing a 2-element array by shader type.
This works for sm1 shaders, which can only be pixel or vertex, but this is a bit fragile and relies on the fact that PIXEL and VERTEX are the first two enum elements. Make the code a bit clearer and less fragile.
- - - - - b78effa3 by Elizabeth Figura at 2025-03-11T12:31:00+01:00 wined3d: Invalidate bumpenv_constants in wined3d_stateblock_primary_dirtify_all_states().
Fixes: 72fad4abe37a79c8e1f538006b1cc5a690b2176c
- - - - -
2 changed files:
- dlls/wined3d/shader_spirv.c - dlls/wined3d/stateblock.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/4cb856a95de0d28947fe59a9829668...