Home
last modified time | relevance | path

Searched refs:compute_shader_saved (Results 1 – 1 of 1) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.c108 void *compute_shader, *compute_shader_saved; member
966 assert(!ctx->compute_shader_saved); in cso_save_compute_shader()
967 ctx->compute_shader_saved = ctx->compute_shader; in cso_save_compute_shader()
977 if (ctx->compute_shader_saved != ctx->compute_shader) { in cso_restore_compute_shader()
978 ctx->pipe->bind_compute_state(ctx->pipe, ctx->compute_shader_saved); in cso_restore_compute_shader()
979 ctx->compute_shader = ctx->compute_shader_saved; in cso_restore_compute_shader()
981 ctx->compute_shader_saved = NULL; in cso_restore_compute_shader()