Lines Matching refs:ctx
2600 tu_hash_stage(struct mesa_sha1 *ctx,
2607 _mesa_sha1_update(ctx, stage_hash, sizeof(stage_hash));
2608 _mesa_sha1_update(ctx, key, sizeof(*key));
2615 tu_hash_compiler(struct mesa_sha1 *ctx, const struct ir3_compiler *compiler)
2617 _mesa_sha1_update(ctx, &compiler->robust_buffer_access2,
2619 _mesa_sha1_update(ctx, &ir3_shader_debug, sizeof(ir3_shader_debug));
2630 struct mesa_sha1 ctx;
2632 _mesa_sha1_init(&ctx);
2635 _mesa_sha1_update(&ctx, layout->sha1, sizeof(layout->sha1));
2637 _mesa_sha1_update(&ctx, ir3_key, sizeof(ir3_key));
2641 tu_hash_stage(&ctx, stages[i], &keys[i]);
2644 tu_hash_compiler(&ctx, compiler);
2645 _mesa_sha1_final(&ctx, hash);
2655 struct mesa_sha1 ctx;
2657 _mesa_sha1_init(&ctx);
2660 _mesa_sha1_update(&ctx, layout->sha1, sizeof(layout->sha1));
2662 tu_hash_stage(&ctx, stage, key);
2664 tu_hash_compiler(&ctx, compiler);
2665 _mesa_sha1_final(&ctx, hash);
3411 /* move to hw ctx init? */