Module: Mesa Branch: master Commit: def09f8db0ce77fc41f5188418e0b06356ce59b7 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=def09f8db0ce77fc41f5188418e0b06356ce59b7
Author: Roland Scheidegger <[email protected]> Date: Wed Feb 7 22:02:54 2018 +0100 u_blit: (trivial) fix bogus argument order for set_fragment_shader Amazingly this still worked sometimes, albeit I'm not even sure why... This fixes d7bec6f7a6a2a35c80be939db8532011af1e9b67. --- src/gallium/auxiliary/util/u_blit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/util/u_blit.c b/src/gallium/auxiliary/util/u_blit.c index 817eeac9f0..de39422e32 100644 --- a/src/gallium/auxiliary/util/u_blit.c +++ b/src/gallium/auxiliary/util/u_blit.c @@ -603,8 +603,8 @@ util_blit_pixels_tex(struct blit_state *ctx, cso_set_sampler_views(ctx->cso, PIPE_SHADER_FRAGMENT, 1, &src_sampler_view); /* shaders */ - set_fragment_shader(ctx, src_xrbias, - src_sampler_view->format, + set_fragment_shader(ctx, src_sampler_view->format, + src_xrbias, src_sampler_view->texture->target); set_vertex_shader(ctx); cso_set_tessctrl_shader_handle(ctx->cso, NULL); _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
