Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_prim_assembler.c63 if (fs && fs->info.uses_primid) { in needs_primid()
65 return !gs->info.uses_primid; in needs_primid()
67 return !tes->info.uses_primid; in needs_primid()
Ddraw_llvm.c2836 if (gs_info->uses_primid) { in draw_gs_llvm_generate()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_scan.h103 boolean uses_primid; member
Dtgsi_scan.c335 info->uses_primid = TRUE; in tgsi_scan_shader()
363 info->uses_primid = TRUE; in tgsi_scan_shader()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_scan.h122 boolean uses_primid; member
Dtgsi_scan.c678 info->uses_primid = true; in scan_declaration()
712 info->uses_primid = TRUE; in scan_declaration()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c606 vgpr_comp_cnt = shader->selector->info.uses_primid ? 3 : 2; in si_shader_es()
838 es_vgpr_comp_cnt = shader->key.part.gs.es->info.uses_primid ? 3 : 2; in si_shader_gs()
847 else if (sel->info.uses_primid) in si_shader_gs()
1088 bool es_enable_prim_id = shader->key.mono.u.vs_export_prim_id || es_info->uses_primid; in gfx10_shader_ngg()
1120 if (es_enable_prim_id || gs_info->uses_primid) in gfx10_shader_ngg()
1134 else if ((gs_stage == MESA_SHADER_GEOMETRY && gs_info->uses_primid) || in gfx10_shader_ngg()
1377 bool enable_prim_id = shader->key.mono.u.vs_export_prim_id || info->uses_primid; in si_shader_vs()
1820 if (sctx->ps_shader.cso && sctx->ps_shader.cso->info.uses_primid) in si_shader_selector_key_hw_vs()
3003 (sctx->tes_shader.cso && sctx->tes_shader.cso->info.uses_primid) || in si_update_tess_uses_prim_id()
3004 (sctx->tcs_shader.cso && sctx->tcs_shader.cso->info.uses_primid) || in si_update_tess_uses_prim_id()
[all …]
Dsi_shader.h369 bool uses_primid; member
Dsi_shader_nir.c355 info->uses_primid = BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_PRIMITIVE_ID) || in si_nir_scan_shader()
Dgfx10_shader_ngg.c612 if (shader->selector->info.uses_primid || shader->key.mono.u.vs_export_prim_id) { in ngg_nogs_vertex_size()
965 (sel->info.uses_primid || shader->key.mono.u.vs_export_prim_id); in gfx10_emit_ngg_culling_epilogue()
Dsi_state_draw.c1985 (!sctx->ps_shader.cso->info.uses_primid || pd_msg("PS uses PrimID")) && in si_multi_draw_vbo()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c257 info->uses_primid = 1; in scan_instruction()
533 info->uses_primid = true; in nir_tgsi_scan_shader()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_draw.cpp185 if (ctx->fs->info.base.uses_primid) in swr_draw_vbo()
Dswr_state.cpp2038 if (ctx->fs->info.base.uses_primid) { in swr_update_derived()