Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_program.c174 face_regid = ir3_find_sysval_regid(fp, SYSTEM_VALUE_FRONT_FACE); in fd3_program_emit()
175 coord_regid = ir3_find_sysval_regid(fp, SYSTEM_VALUE_FRAG_COORD); in fd3_program_emit()
177 ij_regid[0] = ir3_find_sysval_regid(fp, SYSTEM_VALUE_BARYCENTRIC_PERSP_PIXEL); in fd3_program_emit()
178 ij_regid[1] = ir3_find_sysval_regid(fp, SYSTEM_VALUE_BARYCENTRIC_LINEAR_PIXEL); in fd3_program_emit()
179 ij_regid[2] = ir3_find_sysval_regid(fp, SYSTEM_VALUE_BARYCENTRIC_PERSP_CENTROID); in fd3_program_emit()
180 ij_regid[3] = ir3_find_sysval_regid(fp, SYSTEM_VALUE_BARYCENTRIC_LINEAR_CENTROID); in fd3_program_emit()
Dfd3_emit.c601 val |= CONDREG(ir3_find_sysval_regid(fp, SYSTEM_VALUE_BARYCENTRIC_PERSP_PIXEL), in fd3_emit_state()
603 val |= CONDREG(ir3_find_sysval_regid(fp, SYSTEM_VALUE_BARYCENTRIC_LINEAR_PIXEL), in fd3_emit_state()
605 val |= CONDREG(ir3_find_sysval_regid(fp, SYSTEM_VALUE_BARYCENTRIC_PERSP_CENTROID), in fd3_emit_state()
607 val |= CONDREG(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()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_program.c353 vertex_regid = ir3_find_sysval_regid(vs, SYSTEM_VALUE_VERTEX_ID); in setup_stateobj()
354 instance_regid = ir3_find_sysval_regid(vs, SYSTEM_VALUE_INSTANCE_ID); in setup_stateobj()
357 tess_coord_x_regid = ir3_find_sysval_regid(ds, SYSTEM_VALUE_TESS_COORD); in setup_stateobj()
359 hs_patch_regid = ir3_find_sysval_regid(hs, SYSTEM_VALUE_PRIMITIVE_ID); in setup_stateobj()
360 ds_patch_regid = ir3_find_sysval_regid(ds, SYSTEM_VALUE_PRIMITIVE_ID); in setup_stateobj()
361 hs_invocation_regid = ir3_find_sysval_regid(hs, SYSTEM_VALUE_TCS_HEADER_IR3); in setup_stateobj()
376 gs_header_regid = ir3_find_sysval_regid(gs, SYSTEM_VALUE_GS_HEADER_IR3); in setup_stateobj()
377 primitive_regid = ir3_find_sysval_regid(gs, SYSTEM_VALUE_PRIMITIVE_ID); in setup_stateobj()
404 samp_id_regid = ir3_find_sysval_regid(fs, SYSTEM_VALUE_SAMPLE_ID); in setup_stateobj()
405 smask_in_regid = ir3_find_sysval_regid(fs, SYSTEM_VALUE_SAMPLE_MASK_IN); in setup_stateobj()
[all …]
Dfd6_compute.c117 local_invocation_id = ir3_find_sysval_regid(v, SYSTEM_VALUE_LOCAL_INVOCATION_ID); in cs_program_emit()
118 work_group_id = ir3_find_sysval_regid(v, SYSTEM_VALUE_WORK_GROUP_ID); in cs_program_emit()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_program.c301 vertex_regid = ir3_find_sysval_regid(s[VS].v, SYSTEM_VALUE_VERTEX_ID_ZERO_BASE); in fd5_program_emit()
302 instance_regid = ir3_find_sysval_regid(s[VS].v, SYSTEM_VALUE_INSTANCE_ID); in fd5_program_emit()
319 samp_id_regid = ir3_find_sysval_regid(s[FS].v, SYSTEM_VALUE_SAMPLE_ID); in fd5_program_emit()
320 samp_mask_regid = ir3_find_sysval_regid(s[FS].v, SYSTEM_VALUE_SAMPLE_MASK_IN); in fd5_program_emit()
321 face_regid = ir3_find_sysval_regid(s[FS].v, SYSTEM_VALUE_FRONT_FACE); in fd5_program_emit()
322 coord_regid = ir3_find_sysval_regid(s[FS].v, SYSTEM_VALUE_FRAG_COORD); in fd5_program_emit()
325 ij_regid[i] = ir3_find_sysval_regid(s[FS].v, SYSTEM_VALUE_BARYCENTRIC_PERSP_PIXEL + i); in fd5_program_emit()
Dfd5_compute.c138 local_invocation_id = ir3_find_sysval_regid(v, SYSTEM_VALUE_LOCAL_INVOCATION_ID); in cs_program_emit()
139 work_group_id = ir3_find_sysval_regid(v, SYSTEM_VALUE_WORK_GROUP_ID); in cs_program_emit()
/external/mesa3d/src/freedreno/ir3/
Dir3_shader.c654 ir3_find_sysval_regid(so, SYSTEM_VALUE_BARYCENTRIC_PERSP_PIXEL)); in ir3_shader_disasm()
656 ir3_find_sysval_regid(so, SYSTEM_VALUE_BARYCENTRIC_PERSP_CENTROID)); in ir3_shader_disasm()
658 ir3_find_sysval_regid(so, SYSTEM_VALUE_BARYCENTRIC_PERSP_SIZE)); in ir3_shader_disasm()
673 ir3_find_sysval_regid(so, SYSTEM_VALUE_FRAG_COORD)); in ir3_shader_disasm()
675 ir3_find_sysval_regid(so, SYSTEM_VALUE_FRONT_FACE)); in ir3_shader_disasm()
Dir3_shader.h970 ir3_find_sysval_regid(const struct ir3_shader_variant *so, unsigned slot) in ir3_find_sysval_regid() function
/external/mesa3d/src/freedreno/vulkan/
Dtu_pipeline.c486 ir3_find_sysval_regid(v, SYSTEM_VALUE_LOCAL_INVOCATION_ID); in tu6_emit_cs_config()
488 ir3_find_sysval_regid(v, SYSTEM_VALUE_WORK_GROUP_ID); in tu6_emit_cs_config()
508 ir3_find_sysval_regid(vs, SYSTEM_VALUE_VERTEX_ID); in tu6_emit_vs_system_values()
510 ir3_find_sysval_regid(vs, SYSTEM_VALUE_INSTANCE_ID); in tu6_emit_vs_system_values()
512 ir3_find_sysval_regid(ds, SYSTEM_VALUE_TESS_COORD) : in tu6_emit_vs_system_values()
518 ir3_find_sysval_regid(hs, SYSTEM_VALUE_PRIMITIVE_ID) : in tu6_emit_vs_system_values()
521 ir3_find_sysval_regid(ds, SYSTEM_VALUE_PRIMITIVE_ID) : in tu6_emit_vs_system_values()
524 ir3_find_sysval_regid(hs, SYSTEM_VALUE_TCS_HEADER_IR3) : in tu6_emit_vs_system_values()
527 ir3_find_sysval_regid(gs, SYSTEM_VALUE_PRIMITIVE_ID) : in tu6_emit_vs_system_values()
530 ir3_find_sysval_regid(gs, SYSTEM_VALUE_GS_HEADER_IR3) : in tu6_emit_vs_system_values()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_program.c209 face_regid = ir3_find_sysval_regid(s[FS].v, SYSTEM_VALUE_FRONT_FACE); in fd4_program_emit()
210 coord_regid = ir3_find_sysval_regid(s[FS].v, SYSTEM_VALUE_FRAG_COORD); in fd4_program_emit()
213 ij_regid[i] = ir3_find_sysval_regid(s[FS].v, SYSTEM_VALUE_BARYCENTRIC_PERSP_PIXEL + i); in fd4_program_emit()
/external/mesa3d/src/freedreno/computerator/
Da6xx.c157 local_invocation_id = ir3_find_sysval_regid(v, SYSTEM_VALUE_LOCAL_INVOCATION_ID); in cs_program_emit()
158 work_group_id = ir3_find_sysval_regid(v, SYSTEM_VALUE_WORK_GROUP_ID); in cs_program_emit()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_const.h500 ir3_find_sysval_regid(v, SYSTEM_VALUE_VERTEX_ID_ZERO_BASE) != regid(63, 0); in ir3_emit_vs_driver_params()