Searched refs:primitive_id (Results 1 - 21 of 21) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_acceleration_structure.h64 uint32_t primitive_id; member in struct:radv_bvh_aabb_node
H A Dradv_pipeline_rt.c172 nir_variable *primitive_id; member in struct:rt_variables
221 vars.primitive_id =
222 nir_variable_create(shader, nir_var_shader_temp, glsl_uint_type(), "primitive_id");
265 _mesa_hash_table_insert(var_remap, src->primitive_id, dst->primitive_id);
291 inner_vars.primitive_id =
574 nir_ssa_def *ret = nir_load_var(&b_shader, vars->primitive_id);
1268 nir_ssa_def *primitive_id = nir_channel(b, triangle_info, 0); local in function:insert_traversal_triangle_case
1302 nir_store_var(b, inner_vars.primitive_id, primitive_id,
1373 nir_ssa_def *primitive_id = nir_channel(b, triangle_info, 0); local in function:insert_traversal_aabb_case
[all...]
H A Dradv_acceleration_structure.c385 node->primitive_id = p;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/
H A Dsfn_shader_geometry.h41 PValue primitive_id() override {return m_primitive_id;} function in class:r600::GeometryShaderFromNir
H A Dsfn_shader_tess_eval.h16 PValue primitive_id() override {return m_primitive_id;} function in class:r600::TEvalShaderFromNir
H A Dsfn_shader_vertex.h44 PValue primitive_id() override {return m_primitive_id;} function in class:r600::VertexShaderFromNir
H A Dsfn_vertexstageexport.h13 virtual PValue primitive_id() = 0;
H A Dsfn_vertexstageexport.cpp340 GPRVector primid({m_proc.primitive_id(), o,o,o});
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dgen6_gs_visitor.h78 src_reg primitive_id; member in class:brw::gen6_gs_visitor
H A Dgen6_gs_visitor.cpp133 this->primitive_id =
135 emit(GS_OPCODE_SET_PRIMITIVE_ID, dst_reg(this->primitive_id));
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dgfx6_gs_visitor.h74 src_reg primitive_id; member in class:brw::gfx6_gs_visitor
H A Dgfx6_gs_visitor.cpp131 this->primitive_id =
133 emit(GS_OPCODE_SET_PRIMITIVE_ID, dst_reg(this->primitive_id));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/
H A Dd3d12_compiler.h98 unsigned primitive_id:1; member in struct:d3d12_shader_key::__anon637fe5ff0308
H A Dd3d12_compiler.cpp591 if (expect->gs.primitive_id != have->gs.primitive_id ||
723 key->gs.primitive_id = 1;
823 if (key.gs.primitive_id) {
H A Dd3d12_nir_passes.c669 nir_ssa_def *primitive_id; local in function:d3d12_lower_primitive_id
673 glsl_uint_type(), "primitive_id");
679 primitive_id = nir_load_primitive_id(&b);
687 nir_store_var(&b, primitive_id_var, primitive_id, 0x1);
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Dir3_context.h94 struct ir3_instruction *primitive_id; member in struct:ir3_context
H A Dir3_compiler_nir.c1708 if (!ctx->primitive_id) {
1709 ctx->primitive_id =
1712 dst[0] = ctx->primitive_id;
3757 ctx->primitive_id =
3762 ctx->primitive_id =
3776 ctx->primitive_id =
4019 if (ctx->primitive_id) {
4023 struct ir3_instruction *out = ir3_collect(ctx->block, ctx->primitive_id);
4242 if (ctx->primitive_id)
4243 ctx->primitive_id
[all...]
/xsrc/external/mit/MesaLib/src/panfrost/lib/genxml/
H A Dv6_pack.h2642 bool primitive_id; member in struct:MALI_FRAGMENT_PRELOAD
2656 fprintf(fp, "%*sPrimitive ID: %s\n", indent, "", values->primitive_id ? "true" : "false");
2695 __gen_uint(values->fragment.primitive_id, 9, 9) |
2727 values->fragment.primitive_id = __gen_unpack_uint(cl, 9, 9);
3195 __gen_uint(values->preload.fragment.primitive_id, 9, 9) |
3219 __gen_uint(values->secondary_preload.fragment.primitive_id, 9, 9) |
3315 values->preload.fragment.primitive_id = __gen_unpack_uint(cl, 393, 393);
3339 values->secondary_preload.fragment.primitive_id = __gen_unpack_uint(cl, 425, 425);
H A Dv7_pack.h2706 bool primitive_id; member in struct:MALI_FRAGMENT_PRELOAD
2720 fprintf(fp, "%*sPrimitive ID: %s\n", indent, "", values->primitive_id ? "true" : "false");
2759 __gen_uint(values->fragment.primitive_id, 9, 9) |
2791 values->fragment.primitive_id = __gen_unpack_uint(cl, 9, 9);
3264 __gen_uint(values->preload.fragment.primitive_id, 9, 9) |
3288 __gen_uint(values->secondary_preload.fragment.primitive_id, 9, 9) |
3389 values->preload.fragment.primitive_id = __gen_unpack_uint(cl, 393, 393);
3413 values->secondary_preload.fragment.primitive_id = __gen_unpack_uint(cl, 425, 425);
/xsrc/external/mit/MesaLib/dist/src/broadcom/compiler/
H A Dv3d_compiler.h725 struct qreg line_x, point_x, point_y, primitive_id; member in struct:v3d_compile
H A Dnir_to_vir.c2119 c->inputs[loc * 4] = c->primitive_id;
3798 c->primitive_id =

Completed in 56 milliseconds