Home
last modified time | relevance | path

Searched refs:primid (Results 1 - 6 of 6) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_prim_assembler.c51 unsigned primid; member
134 unsigned primid) in inject_primid()
146 memcpy(&v->data[slot][0], &primid, sizeof(primid)); in inject_primid()
147 memcpy(&v->data[slot][1], &primid, sizeof(primid)); in inject_primid()
148 memcpy(&v->data[slot][2], &primid, sizeof(primid)); in inject_primid()
149 memcpy(&v->data[slot][3], &primid, sizeof(primid)); in inject_primid()
132 inject_primid(struct draw_assembler *asmblr, unsigned idx, unsigned primid) inject_primid() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_shader_vs.cpp153 auto primid = m_parent->value_factory().temp_vec4(pin_group, {2, 7, 7, 7}); in finalize() local
154 m_parent->emit_instruction(new AluInstr(op1_mov, primid[0], m_parent->primitive_id(), AluInstr::last_write)); in finalize()
157 m_last_param_export = new ExportInstr(ExportInstr::param, param, primid); in finalize()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_shader_state.c432 uint32_t primid = 0; in nv50_fp_linkage_validate() local
492 primid = m; in nv50_fp_linkage_validate()
560 PUSH_DATA (push, primid); in nv50_fp_linkage_validate()
/third_party/mesa3d/src/gallium/drivers/r600/
H A Dr600_state.c1930 uint32_t v2 = 0, primid = 0; in r600_emit_shader_stages() local
1934 primid = 1; in r600_emit_shader_stages()
1953 primid = 1; in r600_emit_shader_stages()
1957 radeon_set_context_reg(cs, R_028A84_VGT_PRIMITIVEID_EN, primid); in r600_emit_shader_stages()
H A Devergreen_state.c2566 uint32_t v = 0, v2 = 0, primid = 0, tf_param = 0; in evergreen_emit_shader_stages() local
2570 primid = 1; in evergreen_emit_shader_stages()
2594 primid = 1; in evergreen_emit_shader_stages()
2661 radeon_set_context_reg(cs, R_028A84_VGT_PRIMITIVEID_EN, primid); in evergreen_emit_shader_stages()
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_pipeline.c1155 bool primid = shader->type != MESA_SHADER_VERTEX && in tu6_emit_vpc() local
1164 COND(primid, A6XX_PC_VS_OUT_CNTL_PRIMITIVE_ID) | in tu6_emit_vpc()
1167 tu_cs_emit(cs, COND(primid, A6XX_PC_VS_OUT_CNTL_PRIMITIVE_ID)); in tu6_emit_vpc()

Completed in 19 milliseconds