Home
last modified time | relevance | path

Searched refs:ij_regid (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_program.c167 uint32_t face_regid, coord_regid, zwcoord_regid, ij_regid[IJ_COUNT]; in fd4_program_emit() local
212 for (unsigned i = 0; i < ARRAY_SIZE(ij_regid); i++) 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()
240 OUT_RING(ring, A4XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL(ij_regid[IJ_PERSP_PIXEL]) | in fd4_program_emit()
241 A4XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL(ij_regid[IJ_LINEAR_PIXEL]) | in fd4_program_emit()
242 A4XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID(ij_regid[IJ_PERSP_CENTROID]) | in fd4_program_emit()
243 A4XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID(ij_regid[IJ_LINEAR_CENTROID])); in fd4_program_emit()
393 CONDREG(ij_regid[IJ_PERSP_PIXEL], A4XX_GRAS_CNTL_IJ_PERSP) | in fd4_program_emit()
394 CONDREG(ij_regid[IJ_LINEAR_PIXEL], A4XX_GRAS_CNTL_IJ_LINEAR) | in fd4_program_emit()
395 CONDREG(ij_regid[IJ_PERSP_CENTROID], A4XX_GRAS_CNTL_IJ_PERSP)); in fd4_program_emit()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_program.c290 uint32_t ij_regid[IJ_COUNT], vertex_regid, instance_regid; in fd5_program_emit() local
324 for (unsigned i = 0; i < ARRAY_SIZE(ij_regid); i++) 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()
513 A5XX_HLSQ_CONTROL_2_REG_SIZE(ij_regid[IJ_PERSP_SIZE])); in fd5_program_emit()
515 A5XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL(ij_regid[IJ_PERSP_PIXEL]) | in fd5_program_emit()
516 A5XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL(ij_regid[IJ_LINEAR_PIXEL]) | in fd5_program_emit()
517 A5XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID(ij_regid[IJ_PERSP_CENTROID]) | in fd5_program_emit()
518 A5XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID(ij_regid[IJ_LINEAR_CENTROID])); in fd5_program_emit()
521 A5XX_HLSQ_CONTROL_4_REG_IJ_PERSP_SAMPLE(ij_regid[IJ_PERSP_SAMPLE]) | in fd5_program_emit()
522 A5XX_HLSQ_CONTROL_4_REG_IJ_LINEAR_SAMPLE(ij_regid[IJ_LINEAR_SAMPLE])); in fd5_program_emit()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_program.c105 uint32_t ij_regid[4], face_regid, coord_regid, zwcoord_regid; in fd3_program_emit() local
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()
210 A3XX_HLSQ_CONTROL_3_REG_IJPERSPCENTERREGID(ij_regid[0]) | in fd3_program_emit()
211 A3XX_HLSQ_CONTROL_3_REG_IJNONPERSPCENTERREGID(ij_regid[1]) | in fd3_program_emit()
212 A3XX_HLSQ_CONTROL_3_REG_IJPERSPCENTROIDREGID(ij_regid[2]) | in fd3_program_emit()
213 A3XX_HLSQ_CONTROL_3_REG_IJNONPERSPCENTROIDREGID(ij_regid[3])); in fd3_program_emit()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_program.c325 uint32_t ij_regid[IJ_COUNT]; in setup_stateobj() local
411 for (unsigned i = 0; i < ARRAY_SIZE(ij_regid); i++) in setup_stateobj()
412 ij_regid[i] = ir3_find_sysval_regid(fs, SYSTEM_VALUE_BARYCENTRIC_PERSP_PIXEL + i); in setup_stateobj()
418 assert(VALIDREG(ij_regid[IJ_PERSP_PIXEL])); in setup_stateobj()
420 assert(ij_regid[IJ_PERSP_PIXEL] == regid(0, 0)); in setup_stateobj()
701 A6XX_HLSQ_CONTROL_2_REG_SIZE(ij_regid[IJ_PERSP_SIZE])); in setup_stateobj()
703 A6XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL(ij_regid[IJ_PERSP_PIXEL]) | in setup_stateobj()
704 A6XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL(ij_regid[IJ_LINEAR_PIXEL]) | in setup_stateobj()
705 A6XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID(ij_regid[IJ_PERSP_CENTROID]) | in setup_stateobj()
706 A6XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID(ij_regid[IJ_LINEAR_CENTROID])); in setup_stateobj()
[all …]
/external/mesa3d/src/freedreno/vulkan/
Dtu_pipeline.c1195 uint32_t ij_regid[IJ_COUNT]; in tu6_emit_fs_inputs() local
1206 for (unsigned i = 0; i < ARRAY_SIZE(ij_regid); i++) in tu6_emit_fs_inputs()
1207 ij_regid[i] = ir3_find_sysval_regid(fs, SYSTEM_VALUE_BARYCENTRIC_PERSP_PIXEL + i); in tu6_emit_fs_inputs()
1209 if (VALIDREG(ij_regid[IJ_LINEAR_SAMPLE])) in tu6_emit_fs_inputs()
1212 if (VALIDREG(ij_regid[IJ_LINEAR_CENTROID])) in tu6_emit_fs_inputs()
1216 assert(VALIDREG(ij_regid[IJ_PERSP_PIXEL])); in tu6_emit_fs_inputs()
1218 assert(ij_regid[IJ_PERSP_PIXEL] == regid(0, 0)); in tu6_emit_fs_inputs()
1251 A6XX_HLSQ_CONTROL_2_REG_SIZE(ij_regid[IJ_PERSP_SIZE])); in tu6_emit_fs_inputs()
1252 tu_cs_emit(cs, A6XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL(ij_regid[IJ_PERSP_PIXEL]) | in tu6_emit_fs_inputs()
1253 A6XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL(ij_regid[IJ_LINEAR_PIXEL]) | in tu6_emit_fs_inputs()
[all …]