Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_draw.cpp1770 unsigned num_vbos_in_user_sgprs = si_num_vbos_in_user_sgprs_inline(GFX_VERSION); in si_upload_and_prefetch_VB_descriptors() local
1811 if (num_vbos_in_user_sgprs) { in si_upload_and_prefetch_VB_descriptors()
1812 unsigned num_vb_sgprs = MIN2(count, num_vbos_in_user_sgprs) * 4; in si_upload_and_prefetch_VB_descriptors()
1817 for (; partial_velem_mask && i < num_vbos_in_user_sgprs; i++) { in si_upload_and_prefetch_VB_descriptors()
1827 uint32_t *desc = &ptr[(i - num_vbos_in_user_sgprs) * 4]; in si_upload_and_prefetch_VB_descriptors()
1842 pointer_dirty = count > num_vbos_in_user_sgprs; in si_upload_and_prefetch_VB_descriptors()
1849 uint32_t *desc = i < num_vbos_in_user_sgprs ? &sctx->vb_descriptor_user_sgprs[i * 4] in si_upload_and_prefetch_VB_descriptors()
1850 : &ptr[(i - num_vbos_in_user_sgprs) * 4]; in si_upload_and_prefetch_VB_descriptors()
1862 user_sgprs_dirty = num_vbos_in_user_sgprs > 0; in si_upload_and_prefetch_VB_descriptors()
1877 if (pointer_dirty && count > num_vbos_in_user_sgprs) { in si_upload_and_prefetch_VB_descriptors()
[all …]
Dsi_shader_llvm_vs.c114 unsigned num_vbos_in_user_sgprs = ctx->shader->selector->num_vbos_in_user_sgprs; in load_input_vs() local
120 if (input_index < num_vbos_in_user_sgprs) { in load_input_vs()
123 unsigned index = input_index - num_vbos_in_user_sgprs; in load_input_vs()
Dsi_shader.c280 unsigned num_vbos_in_user_sgprs = ctx->shader->selector->num_vbos_in_user_sgprs; in declare_vb_descriptor_input_sgprs() local
281 if (num_vbos_in_user_sgprs) { in declare_vb_descriptor_input_sgprs()
292 assert(num_vbos_in_user_sgprs <= ARRAY_SIZE(ctx->vb_descriptors)); in declare_vb_descriptor_input_sgprs()
293 for (unsigned i = 0; i < num_vbos_in_user_sgprs; i++) in declare_vb_descriptor_input_sgprs()
572 if (shader->selector->num_vbos_in_user_sgprs) { in si_init_shader_args()
575 SI_SGPR_VS_VB_DESCRIPTOR_FIRST + shader->selector->num_vbos_in_user_sgprs * 4; in si_init_shader_args()
Dsi_descriptors.c1954 unsigned num_vbos_in_user_sgprs = si_num_vbos_in_user_sgprs(sctx->screen); in si_mark_shader_pointers_dirty() local
1958 num_vbos_in_user_sgprs; in si_mark_shader_pointers_dirty()
1960 sctx->num_vertex_elements > 0 && num_vbos_in_user_sgprs; in si_mark_shader_pointers_dirty()
1968 unsigned num_vbos_in_user_sgprs = si_num_vbos_in_user_sgprs(sctx->screen); in si_shader_pointers_mark_dirty() local
1973 num_vbos_in_user_sgprs; in si_shader_pointers_mark_dirty()
1975 sctx->num_vertex_elements > 0 && num_vbos_in_user_sgprs; in si_shader_pointers_mark_dirty()
Dsi_shader.h464 ubyte num_vbos_in_user_sgprs; member
Dsi_blit.c102 unsigned num_vbos_in_user_sgprs = si_num_vbos_in_user_sgprs(sctx->screen); in si_blitter_end() local
105 num_vbos_in_user_sgprs; in si_blitter_end()
107 num_vbos_in_user_sgprs; in si_blitter_end()
Dsi_state_shaders.c483 unsigned num_vbos_in_user_sgprs = vs->num_vbos_in_user_sgprs; in si_get_num_vs_user_sgprs() local
488 if (num_vbos_in_user_sgprs) in si_get_num_vs_user_sgprs()
489 return SI_SGPR_VS_VB_DESCRIPTOR_FIRST + num_vbos_in_user_sgprs * 4; in si_get_num_vs_user_sgprs()
2858 sel->num_vbos_in_user_sgprs = MIN2(sel->num_vs_inputs, num_vbos_in_sgprs); in si_create_shader_selector()
Dgfx10_shader_ngg.c1224 for (unsigned i = 0; i < shader->selector->num_vbos_in_user_sgprs; i++) { in gfx10_emit_ngg_culling_epilogue()
1236 if (shader->selector->num_vbos_in_user_sgprs) { in gfx10_emit_ngg_culling_epilogue()
1237 vgpr = 8 + SI_SGPR_VS_VB_DESCRIPTOR_FIRST + shader->selector->num_vbos_in_user_sgprs * 4; in gfx10_emit_ngg_culling_epilogue()
Dsi_state.c4701 unsigned num_vbos_in_user_sgprs = si_num_vbos_in_user_sgprs(sscreen); in si_create_vertex_elements() local
4703 count > num_vbos_in_user_sgprs ? count - num_vbos_in_user_sgprs : 0; in si_create_vertex_elements()
/third_party/mesa3d/docs/relnotes/
D21.0.0.rst2068 - radeonsi: don't add num_vbos_in_user_sgprs to the shader cache key for non-VS
D20.1.0.rst3114 - radeonsi: add num_vbos_in_user_sgprs into the shader cache key
D21.3.0.rst2683 - radeonsi: determine num_vbos_in_user_sgprs from template arguments in draw_vbo