projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83990dd
)
u_blit: (trivial) fix bogus argument order for set_fragment_shader
author
Roland Scheidegger
<sroland@vmware.com>
Wed, 7 Feb 2018 21:02:54 +0000
(22:02 +0100)
committer
Roland Scheidegger
<sroland@vmware.com>
Wed, 7 Feb 2018 21:03:18 +0000
(22:03 +0100)
Amazingly this still worked sometimes, albeit I'm not even sure why...
This fixes
d7bec6f7a6a2a35c80be939db8532011af1e9b67
.
src/gallium/auxiliary/util/u_blit.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_blit.c
b/src/gallium/auxiliary/util/u_blit.c
index 817eeac9f0dc4491c5e0bf0a461fda4bf35fef12..de39422e329195351705177f8530ce94fde64625 100644
(file)
--- 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);