Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_program.c244 uint32_t ij_regid[IJ_COUNT], vertex_regid, instance_regid, clip0_regid, in fd5_program_emit() local
287 for (unsigned i = 0; i < ARRAY_SIZE(ij_regid); i++) in fd5_program_emit()
288 ij_regid[i] = ir3_find_sysval_regid( in fd5_program_emit()
509 A5XX_HLSQ_CONTROL_2_REG_SIZE(ij_regid[IJ_PERSP_SIZE])); in fd5_program_emit()
512 A5XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL(ij_regid[IJ_PERSP_PIXEL]) | in fd5_program_emit()
513 A5XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL(ij_regid[IJ_LINEAR_PIXEL]) | in fd5_program_emit()
515 ij_regid[IJ_PERSP_CENTROID]) | in fd5_program_emit()
517 ij_regid[IJ_LINEAR_CENTROID])); in fd5_program_emit()
522 A5XX_HLSQ_CONTROL_4_REG_IJ_PERSP_SAMPLE(ij_regid[IJ_PERSP_SAMPLE]) | in fd5_program_emit()
523 A5XX_HLSQ_CONTROL_4_REG_IJ_LINEAR_SAMPLE(ij_regid[IJ_LINEAR_SAMPLE])); in fd5_program_emit()
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_program.c365 uint32_t ij_regid[IJ_COUNT]; in setup_stateobj() local
464 for (unsigned i = 0; i < ARRAY_SIZE(ij_regid); i++) in setup_stateobj()
465 ij_regid[i] = in setup_stateobj()
472 assert(VALIDREG(ij_regid[IJ_PERSP_PIXEL])); in setup_stateobj()
474 assert(ij_regid[IJ_PERSP_PIXEL] == regid(0, 0)); in setup_stateobj()
793 A6XX_HLSQ_CONTROL_2_REG_SIZE(ij_regid[IJ_PERSP_SIZE])); in setup_stateobj()
796 A6XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL(ij_regid[IJ_PERSP_PIXEL]) | in setup_stateobj()
797 A6XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL(ij_regid[IJ_LINEAR_PIXEL]) | in setup_stateobj()
799 ij_regid[IJ_PERSP_CENTROID]) | in setup_stateobj()
801 ij_regid[IJ_LINEAR_CENTROID])); in setup_stateobj()
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_program.c159 uint32_t face_regid, coord_regid, zwcoord_regid, ij_regid[IJ_COUNT]; in fd4_program_emit() local
205 for (unsigned i = 0; i < ARRAY_SIZE(ij_regid); i++) in fd4_program_emit()
206 ij_regid[i] = ir3_find_sysval_regid( in fd4_program_emit()
236 A4XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL(ij_regid[IJ_PERSP_PIXEL]) | in fd4_program_emit()
237 A4XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL(ij_regid[IJ_LINEAR_PIXEL]) | in fd4_program_emit()
239 ij_regid[IJ_PERSP_CENTROID]) | in fd4_program_emit()
241 ij_regid[IJ_LINEAR_CENTROID])); in fd4_program_emit()
407 CONDREG(ij_regid[IJ_PERSP_PIXEL], A4XX_GRAS_CNTL_IJ_PERSP) | in fd4_program_emit()
408 CONDREG(ij_regid[IJ_LINEAR_PIXEL], A4XX_GRAS_CNTL_IJ_LINEAR) | in fd4_program_emit()
409 CONDREG(ij_regid[IJ_PERSP_CENTROID], A4XX_GRAS_CNTL_IJ_PERSP)); in fd4_program_emit()
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_program.c102 uint32_t ij_regid[4], face_regid, coord_regid, zwcoord_regid; in fd3_program_emit() local
175 ij_regid[0] = in fd3_program_emit()
177 ij_regid[1] = in fd3_program_emit()
179 ij_regid[2] = in fd3_program_emit()
181 ij_regid[3] = in fd3_program_emit()
212 A3XX_HLSQ_CONTROL_3_REG_IJPERSPCENTERREGID(ij_regid[0]) | in fd3_program_emit()
213 A3XX_HLSQ_CONTROL_3_REG_IJNONPERSPCENTERREGID(ij_regid[1]) | in fd3_program_emit()
214 A3XX_HLSQ_CONTROL_3_REG_IJPERSPCENTROIDREGID(ij_regid[2]) | in fd3_program_emit()
215 A3XX_HLSQ_CONTROL_3_REG_IJNONPERSPCENTROIDREGID(ij_regid[3])); in fd3_program_emit()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_pipeline.c1353 uint32_t ij_regid[IJ_COUNT]; in tu6_emit_fs_inputs() local
1364 for (unsigned i = 0; i < ARRAY_SIZE(ij_regid); i++) in tu6_emit_fs_inputs()
1365 ij_regid[i] = ir3_find_sysval_regid(fs, SYSTEM_VALUE_BARYCENTRIC_PERSP_PIXEL + i); in tu6_emit_fs_inputs()
1368 assert(VALIDREG(ij_regid[IJ_PERSP_PIXEL])); in tu6_emit_fs_inputs()
1370 assert(ij_regid[IJ_PERSP_PIXEL] == regid(0, 0)); in tu6_emit_fs_inputs()
1403 A6XX_HLSQ_CONTROL_2_REG_SIZE(ij_regid[IJ_PERSP_SIZE])); in tu6_emit_fs_inputs()
1404 tu_cs_emit(cs, A6XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL(ij_regid[IJ_PERSP_PIXEL]) | in tu6_emit_fs_inputs()
1405 A6XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL(ij_regid[IJ_LINEAR_PIXEL]) | in tu6_emit_fs_inputs()
1406 A6XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID(ij_regid[IJ_PERSP_CENTROID]) | in tu6_emit_fs_inputs()
1407 A6XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID(ij_regid[IJ_LINEAR_CENTROID])); in tu6_emit_fs_inputs()
[all …]