29d6ed99
by Henri Verbeet at 2025-02-26T22:14:22+01:00
wined3d: Handle a NULL "push_constants" buffer in glsl_fragment_pipe_alpha_test_func().
If WINED3D_RS_ALPHAREF was never set, the corresponding "push_constants"
buffer may not exist either. We don't call
glsl_fragment_pipe_alpha_test_func() when using core contexts, which is
the reason it works there. This fixes a regression introduced by commit
20fb590cfbbcc54f13cd0e2d08da4742ecdef760. Found by running the regression tests.