summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_vs_exec.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-03-22 07:58:39 +1000
committerDave Airlie <airlied@redhat.com>2016-03-31 09:14:11 +1000
commit0d1f679dedfb47944259e846d7f2eadbcf0907ca (patch)
tree31475536d0da8b84c49c0f5a2bf3da554a1dcac3 /src/gallium/auxiliary/draw/draw_vs_exec.c
parent22d1296013825a4dce84e6f579581202a18767c7 (diff)
downloadexternal_mesa3d-0d1f679dedfb47944259e846d7f2eadbcf0907ca.tar.gz
external_mesa3d-0d1f679dedfb47944259e846d7f2eadbcf0907ca.tar.bz2
external_mesa3d-0d1f679dedfb47944259e846d7f2eadbcf0907ca.zip
draw: add support for passing images to vs/gs shaders.
This just adds support for passing through images to the tgsi execution stage. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_vs_exec.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_vs_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vs_exec.c b/src/gallium/auxiliary/draw/draw_vs_exec.c
index c1266e7ffe..5b53cff29f 100644
--- a/src/gallium/auxiliary/draw/draw_vs_exec.c
+++ b/src/gallium/auxiliary/draw/draw_vs_exec.c
@@ -70,7 +70,7 @@ vs_exec_prepare( struct draw_vertex_shader *shader,
if (evs->machine->Tokens != shader->state.tokens) {
tgsi_exec_machine_bind_shader(evs->machine,
shader->state.tokens,
- draw->vs.tgsi.sampler, NULL);
+ draw->vs.tgsi.sampler, draw->vs.tgsi.image);
}
}