aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/etnaviv/etnaviv_clear_blit.c
diff options
context:
space:
mode:
authorChristian Gmeiner <[email protected]>2017-03-19 17:19:10 +0100
committerChristian Gmeiner <[email protected]>2017-04-05 19:58:10 +0200
commit7d2a80626633b08a347aa11f85f4d96585958e6a (patch)
treef7222634ecb2e30c13c915da3d5a00779d4c41c3 /src/gallium/drivers/etnaviv/etnaviv_clear_blit.c
parent9da54fdcb5b591a7d6c96871e92f8b183c0a5130 (diff)
etnaviv: add etna_shader_key and generate variants if needed
Signed-off-by: Christian Gmeiner <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_clear_blit.c')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_clear_blit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_clear_blit.c b/src/gallium/drivers/etnaviv/etnaviv_clear_blit.c
index 35d635ff3dd..4a03d8294f5 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_clear_blit.c
+++ b/src/gallium/drivers/etnaviv/etnaviv_clear_blit.c
@@ -49,11 +49,11 @@ etna_blit_save_state(struct etna_context *ctx)
{
util_blitter_save_vertex_buffer_slot(ctx->blitter, ctx->vertex_buffer.vb);
util_blitter_save_vertex_elements(ctx->blitter, ctx->vertex_elements);
- util_blitter_save_vertex_shader(ctx->blitter, ctx->shader.vs);
+ util_blitter_save_vertex_shader(ctx->blitter, ctx->shader.bind_vs);
util_blitter_save_rasterizer(ctx->blitter, ctx->rasterizer);
util_blitter_save_viewport(ctx->blitter, &ctx->viewport_s);
util_blitter_save_scissor(ctx->blitter, &ctx->scissor_s);
- util_blitter_save_fragment_shader(ctx->blitter, ctx->shader.fs);
+ util_blitter_save_fragment_shader(ctx->blitter, ctx->shader.bind_fs);
util_blitter_save_blend(ctx->blitter, ctx->blend);
util_blitter_save_depth_stencil_alpha(ctx->blitter, ctx->zsa);
util_blitter_save_stencil_ref(ctx->blitter, &ctx->stencil_ref_s);