Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_program.c434 vertex_regid = ir3_find_sysval_regid(vs, SYSTEM_VALUE_VERTEX_ID); in setup_stateobj()
435 instance_regid = ir3_find_sysval_regid(vs, SYSTEM_VALUE_INSTANCE_ID); in setup_stateobj()
437 vs_primitive_regid = ir3_find_sysval_regid(hs, SYSTEM_VALUE_PRIMITIVE_ID); in setup_stateobj()
439 vs_primitive_regid = ir3_find_sysval_regid(gs, SYSTEM_VALUE_PRIMITIVE_ID); in setup_stateobj()
445 tess_coord_x_regid = ir3_find_sysval_regid(ds, SYSTEM_VALUE_TESS_COORD); in setup_stateobj()
447 hs_reads_primid = VALIDREG(ir3_find_sysval_regid(hs, SYSTEM_VALUE_PRIMITIVE_ID)); in setup_stateobj()
448 ds_reads_primid = VALIDREG(ir3_find_sysval_regid(ds, SYSTEM_VALUE_PRIMITIVE_ID)); in setup_stateobj()
449 hs_rel_patch_regid = ir3_find_sysval_regid(hs, SYSTEM_VALUE_REL_PATCH_ID_IR3); in setup_stateobj()
450 ds_rel_patch_regid = ir3_find_sysval_regid(ds, SYSTEM_VALUE_REL_PATCH_ID_IR3); in setup_stateobj()
451 ds_primitive_regid = ir3_find_sysval_regid(ds, SYSTEM_VALUE_PRIMITIVE_ID); in setup_stateobj()
[all …]
Dfd6_compute.c85 ir3_find_sysval_regid(v, SYSTEM_VALUE_LOCAL_INVOCATION_ID); in cs_program_emit()
86 work_group_id = ir3_find_sysval_regid(v, SYSTEM_VALUE_WORKGROUP_ID); in cs_program_emit()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_program.c171 face_regid = ir3_find_sysval_regid(fp, SYSTEM_VALUE_FRONT_FACE); in fd3_program_emit()
172 coord_regid = ir3_find_sysval_regid(fp, SYSTEM_VALUE_FRAG_COORD); in fd3_program_emit()
176 ir3_find_sysval_regid(fp, SYSTEM_VALUE_BARYCENTRIC_PERSP_PIXEL); in fd3_program_emit()
178 ir3_find_sysval_regid(fp, SYSTEM_VALUE_BARYCENTRIC_LINEAR_PIXEL); in fd3_program_emit()
180 ir3_find_sysval_regid(fp, SYSTEM_VALUE_BARYCENTRIC_PERSP_CENTROID); in fd3_program_emit()
182 ir3_find_sysval_regid(fp, SYSTEM_VALUE_BARYCENTRIC_LINEAR_CENTROID); in fd3_program_emit()
Dfd3_emit.c597 ir3_find_sysval_regid(fp, SYSTEM_VALUE_BARYCENTRIC_PERSP_PIXEL), in fd3_emit_state()
600 ir3_find_sysval_regid(fp, SYSTEM_VALUE_BARYCENTRIC_LINEAR_PIXEL), in fd3_emit_state()
603 ir3_find_sysval_regid(fp, SYSTEM_VALUE_BARYCENTRIC_PERSP_CENTROID), in fd3_emit_state()
606 ir3_find_sysval_regid(fp, SYSTEM_VALUE_BARYCENTRIC_LINEAR_CENTROID), in fd3_emit_state()
610 val |= CONDREG(ir3_find_sysval_regid(fp, SYSTEM_VALUE_FRAG_COORD), in fd3_emit_state()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_program.c266 ir3_find_sysval_regid(s[VS].v, SYSTEM_VALUE_VERTEX_ID_ZERO_BASE); in fd5_program_emit()
267 instance_regid = ir3_find_sysval_regid(s[VS].v, SYSTEM_VALUE_INSTANCE_ID); in fd5_program_emit()
284 samp_id_regid = ir3_find_sysval_regid(s[FS].v, SYSTEM_VALUE_SAMPLE_ID); in fd5_program_emit()
286 ir3_find_sysval_regid(s[FS].v, SYSTEM_VALUE_SAMPLE_MASK_IN); in fd5_program_emit()
287 face_regid = ir3_find_sysval_regid(s[FS].v, SYSTEM_VALUE_FRONT_FACE); in fd5_program_emit()
288 coord_regid = ir3_find_sysval_regid(s[FS].v, SYSTEM_VALUE_FRAG_COORD); in fd5_program_emit()
291 ij_regid[i] = ir3_find_sysval_regid( in fd5_program_emit()
Dfd5_compute.c94 ir3_find_sysval_regid(v, SYSTEM_VALUE_LOCAL_INVOCATION_ID); in cs_program_emit()
95 work_group_id = ir3_find_sysval_regid(v, SYSTEM_VALUE_WORKGROUP_ID); in cs_program_emit()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_program.c202 samp_id_regid = ir3_find_sysval_regid(s[FS].v, SYSTEM_VALUE_SAMPLE_ID); in fd4_program_emit()
204 ir3_find_sysval_regid(s[FS].v, SYSTEM_VALUE_SAMPLE_MASK_IN); in fd4_program_emit()
205 face_regid = ir3_find_sysval_regid(s[FS].v, SYSTEM_VALUE_FRONT_FACE); in fd4_program_emit()
206 coord_regid = ir3_find_sysval_regid(s[FS].v, SYSTEM_VALUE_FRAG_COORD); in fd4_program_emit()
210 ij_regid[i] = ir3_find_sysval_regid( in fd4_program_emit()
Dfd4_compute.c79 ir3_find_sysval_regid(v, SYSTEM_VALUE_LOCAL_INVOCATION_ID); in cs_program_emit()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_shader.c884 ir3_find_sysval_regid(so, SYSTEM_VALUE_BARYCENTRIC_PERSP_PIXEL)); in ir3_shader_disasm()
887 ir3_find_sysval_regid(so, SYSTEM_VALUE_BARYCENTRIC_PERSP_CENTROID)); in ir3_shader_disasm()
889 ir3_find_sysval_regid(so, SYSTEM_VALUE_BARYCENTRIC_PERSP_CENTER_RHW)); in ir3_shader_disasm()
904 ir3_find_sysval_regid(so, SYSTEM_VALUE_FRAG_COORD)); in ir3_shader_disasm()
906 ir3_find_sysval_regid(so, SYSTEM_VALUE_FRONT_FACE)); in ir3_shader_disasm()
Dir3_shader.h1134 ir3_find_sysval_regid(const struct ir3_shader_variant *so, unsigned slot) in ir3_find_sysval_regid() function
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_pipeline.c700 ir3_find_sysval_regid(v, SYSTEM_VALUE_LOCAL_INVOCATION_ID); in tu6_emit_cs_config()
702 ir3_find_sysval_regid(v, SYSTEM_VALUE_WORKGROUP_ID); in tu6_emit_cs_config()
735 ir3_find_sysval_regid(vs, SYSTEM_VALUE_VERTEX_ID); in tu6_emit_vs_system_values()
737 ir3_find_sysval_regid(vs, SYSTEM_VALUE_INSTANCE_ID); in tu6_emit_vs_system_values()
739 ir3_find_sysval_regid(ds, SYSTEM_VALUE_TESS_COORD) : in tu6_emit_vs_system_values()
745 ir3_find_sysval_regid(hs, SYSTEM_VALUE_REL_PATCH_ID_IR3) : in tu6_emit_vs_system_values()
748 ir3_find_sysval_regid(ds, SYSTEM_VALUE_REL_PATCH_ID_IR3) : in tu6_emit_vs_system_values()
751 ir3_find_sysval_regid(hs, SYSTEM_VALUE_TCS_HEADER_IR3) : in tu6_emit_vs_system_values()
754 ir3_find_sysval_regid(gs, SYSTEM_VALUE_PRIMITIVE_ID) : in tu6_emit_vs_system_values()
757 ir3_find_sysval_regid(hs, SYSTEM_VALUE_PRIMITIVE_ID) : in tu6_emit_vs_system_values()
[all …]
/third_party/mesa3d/src/freedreno/computerator/
Da6xx.c170 ir3_find_sysval_regid(v, SYSTEM_VALUE_LOCAL_INVOCATION_ID); in cs_program_emit()
171 work_group_id = ir3_find_sysval_regid(v, SYSTEM_VALUE_WORKGROUP_ID); in cs_program_emit()
Da4xx.c132 ir3_find_sysval_regid(v, SYSTEM_VALUE_LOCAL_INVOCATION_ID); in cs_program_emit()
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_const.h489 ir3_find_sysval_regid(v, SYSTEM_VALUE_VERTEX_ID_ZERO_BASE) != in ir3_emit_driver_params()