Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/common/
Dac_shader_args.h73 struct ac_arg draw_id; member
/external/mesa3d/src/freedreno/ir3/
Dir3_context.h86 …struct ir3_instruction *vertex_id, *basevertex, *instance_id, *base_instance, *draw_id, *view_inde… member
Dir3_compiler_nir.c1785 if (!ctx->draw_id) { in emit_intrinsic()
1786 ctx->draw_id = create_driver_param(ctx, IR3_DP_DRAWID); in emit_intrinsic()
1788 dst[0] = ctx->draw_id; in emit_intrinsic()
/external/mesa3d/src/mesa/main/
Ddraw.h64 GLuint draw_id; member
Ddraw.c362 .draw_id = drawID, in _mesa_draw_arrays()
726 prim[i].draw_id = i; in _mesa_exec_MultiDrawArrays()
858 prim.draw_id = 0; in _mesa_validated_drawrangeelements()
1307 prim[i].draw_id = i; in _mesa_validated_multidrawelements()
1334 prim.draw_id = i; in _mesa_validated_multidrawelements()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw.c1076 brw->draw.derived_params.gl_drawid = prim->draw_id; in brw_draw_single_prim()
1207 brw_load_register_imm64(brw, MI_PREDICATE_SRC1, prims[i].draw_id); in brw_draw_prims()
1265 prim[i].draw_id = i; in brw_draw_indirect_prims()
/external/mesa3d/src/mesa/state_tracker/
Dst_draw.c244 info.drawid = prims[i].draw_id; in st_draw_vbo()
Dst_draw_feedback.c437 info.drawid = prims[i].draw_id; in st_feedback_draw_vbo()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.h175 LLVMValueRef draw_id; member
Dlp_bld_nir_soa.c1516 result[0] = lp_build_broadcast_scalar(&bld_base->uint_bld, bld->system_values.draw_id); in emit_sysval_intrin()
Dlp_bld_tgsi_soa.c1561 res = lp_build_broadcast_scalar(&bld_base->uint_bld, bld->system_values.draw_id); in emit_fetch_system_value()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.h440 unsigned draw_id);
Ddraw_llvm.c1997 system_values.draw_id = LLVMGetParam(variant_func, 11); in draw_llvm_generate()
2010 lp_build_name(system_values.draw_id, "draw_id"); in draw_llvm_generate()
/external/mesa3d/src/amd/vulkan/
Dradv_shader_args.c287 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.draw_id); in declare_vs_specific_input_sgprs()
/external/mesa3d/docs/relnotes/
D12.0.2.rst304 - vbo: set draw_id
D20.0.0.rst839 - gallivm/draw: add support for draw_id system value.
/external/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c1133 ret = si_insert_input_ptr(ctx, ret, ctx->args.draw_id, 8 + SI_SGPR_DRAWID); in gfx10_emit_ngg_culling_epilogue()
Dsi_shader.c266 ac_add_arg(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->args.draw_id); in declare_vs_specific_input_sgprs()
/external/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c3324 result = ac_get_arg(&ctx->ac, ctx->args->draw_id); in visit_intrinsic()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp8380 bld.copy(Definition(dst), get_arg(ctx, ctx->args->ac.draw_id)); in visit_intrinsic()