st/mesa: save currently bound vertex samplers and sampler views in st_context
for st_draw_feedback.c Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -344,7 +344,9 @@ st_update_vertex_samplers(struct st_context *st)
|
||||
|
||||
update_shader_samplers(st,
|
||||
PIPE_SHADER_VERTEX,
|
||||
ctx->VertexProgram._Current, NULL, NULL);
|
||||
ctx->VertexProgram._Current,
|
||||
st->state.vert_samplers,
|
||||
&st->state.num_vert_samplers);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user