• Home
  • Raw
  • Download

Lines Matching refs:prolog

2756    struct radv_shader_prolog *prolog = NULL;  in lookup_vs_prolog()  local
2761 prolog = device->simple_vs_prologs[num_attributes - 1]; in lookup_vs_prolog()
2766 prolog = device->instance_rate_vs_prologs[index]; in lookup_vs_prolog()
2769 if (prolog) in lookup_vs_prolog()
2770 return prolog; in lookup_vs_prolog()
2850 prolog = radv_create_vs_prolog(device, &key); in lookup_vs_prolog()
2852 if (!prolog || !key2) { in lookup_vs_prolog()
2853 radv_prolog_destroy(device, prolog); in lookup_vs_prolog()
2859 _mesa_hash_table_insert_pre_hashed(device->vs_prologs, hash, key2, prolog); in lookup_vs_prolog()
2862 return prolog; in lookup_vs_prolog()
2870 struct radv_shader_prolog *prolog, bool pipeline_is_dirty) in emit_prolog_regs() argument
2873 if (cmd_buffer->state.emitted_vs_prolog == prolog && !pipeline_is_dirty) in emit_prolog_regs()
2878 uint64_t prolog_va = radv_buffer_get_va(prolog->bo) + prolog->alloc->offset; in emit_prolog_regs()
2881 assert(vs_shader->info.num_input_sgprs <= prolog->num_preserved_sgprs); in emit_prolog_regs()
2884 if (chip < GFX10 && G_00B228_SGPRS(prolog->rsrc1) > G_00B228_SGPRS(vs_shader->config.rsrc1)) in emit_prolog_regs()
2885 rsrc1 = (rsrc1 & C_00B228_SGPRS) | (prolog->rsrc1 & ~C_00B228_SGPRS); in emit_prolog_regs()
2890 assert(G_00B848_VGPRS(vs_shader->config.rsrc1) >= G_00B848_VGPRS(prolog->rsrc1)); in emit_prolog_regs()
2917 radv_cs_add_buffer(cmd_buffer->device->ws, cmd_buffer->cs, prolog->bo); in emit_prolog_regs()
2980 struct radv_shader_prolog *prolog = in radv_emit_vertex_input() local
2982 if (!prolog) { in radv_emit_vertex_input()
2986 emit_prolog_regs(cmd_buffer, vs_shader, prolog, pipeline_is_dirty); in radv_emit_vertex_input()
2989 cmd_buffer->state.emitted_vs_prolog = prolog; in radv_emit_vertex_input()