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
290 for (unsigned i = 0; i < ARRAY_SIZE(ij_regid); i++) in fd5_program_emit()
291 ij_regid[i] = ir3_find_sysval_regid( in fd5_program_emit()
521 A5XX_HLSQ_CONTROL_2_REG_CENTERRHW(ij_regid[IJ_PERSP_CENTER_RHW])); in fd5_program_emit()
524 A5XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL(ij_regid[IJ_PERSP_PIXEL]) | in fd5_program_emit()
525 A5XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL(ij_regid[IJ_LINEAR_PIXEL]) | in fd5_program_emit()
527 ij_regid[IJ_PERSP_CENTROID]) | in fd5_program_emit()
529 ij_regid[IJ_LINEAR_CENTROID])); in fd5_program_emit()
534 A5XX_HLSQ_CONTROL_4_REG_IJ_PERSP_SAMPLE(ij_regid[IJ_PERSP_SAMPLE]) | in fd5_program_emit()
535 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.c405 uint32_t ij_regid[IJ_COUNT]; in setup_stateobj() local
504 for (unsigned i = 0; i < ARRAY_SIZE(ij_regid); i++) in setup_stateobj()
505 ij_regid[i] = in setup_stateobj()
512 assert(VALIDREG(ij_regid[IJ_PERSP_PIXEL])); in setup_stateobj()
514 assert(ij_regid[IJ_PERSP_PIXEL] == regid(0, 0)); in setup_stateobj()
838 A6XX_HLSQ_CONTROL_2_REG_CENTERRHW(ij_regid[IJ_PERSP_CENTER_RHW])); in setup_stateobj()
841 A6XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL(ij_regid[IJ_PERSP_PIXEL]) | in setup_stateobj()
842 A6XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL(ij_regid[IJ_LINEAR_PIXEL]) | in setup_stateobj()
844 ij_regid[IJ_PERSP_CENTROID]) | in setup_stateobj()
846 ij_regid[IJ_LINEAR_CENTROID])); in setup_stateobj()
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_program.c160 samp_mask_regid, ij_regid[IJ_COUNT]; in fd4_program_emit() local
209 for (unsigned i = 0; i < ARRAY_SIZE(ij_regid); i++) in fd4_program_emit()
210 ij_regid[i] = ir3_find_sysval_regid( in fd4_program_emit()
241 A4XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL(ij_regid[IJ_PERSP_PIXEL]) | in fd4_program_emit()
242 A4XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL(ij_regid[IJ_LINEAR_PIXEL]) | in fd4_program_emit()
244 ij_regid[IJ_PERSP_CENTROID]) | in fd4_program_emit()
246 ij_regid[IJ_LINEAR_CENTROID])); in fd4_program_emit()
419 CONDREG(ij_regid[IJ_PERSP_PIXEL], A4XX_GRAS_CNTL_IJ_PERSP) | in fd4_program_emit()
420 CONDREG(ij_regid[IJ_LINEAR_PIXEL], A4XX_GRAS_CNTL_IJ_LINEAR) | in fd4_program_emit()
421 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.c1400 uint32_t ij_regid[IJ_COUNT]; in tu6_emit_fs_inputs() local
1411 for (unsigned i = 0; i < ARRAY_SIZE(ij_regid); i++) in tu6_emit_fs_inputs()
1412 ij_regid[i] = ir3_find_sysval_regid(fs, SYSTEM_VALUE_BARYCENTRIC_PERSP_PIXEL + i); in tu6_emit_fs_inputs()
1415 assert(VALIDREG(ij_regid[IJ_PERSP_PIXEL])); in tu6_emit_fs_inputs()
1417 assert(ij_regid[IJ_PERSP_PIXEL] == regid(0, 0)); in tu6_emit_fs_inputs()
1450 A6XX_HLSQ_CONTROL_2_REG_CENTERRHW(ij_regid[IJ_PERSP_CENTER_RHW])); in tu6_emit_fs_inputs()
1451 tu_cs_emit(cs, A6XX_HLSQ_CONTROL_3_REG_IJ_PERSP_PIXEL(ij_regid[IJ_PERSP_PIXEL]) | in tu6_emit_fs_inputs()
1452 A6XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_PIXEL(ij_regid[IJ_LINEAR_PIXEL]) | in tu6_emit_fs_inputs()
1453 A6XX_HLSQ_CONTROL_3_REG_IJ_PERSP_CENTROID(ij_regid[IJ_PERSP_CENTROID]) | in tu6_emit_fs_inputs()
1454 A6XX_HLSQ_CONTROL_3_REG_IJ_LINEAR_CENTROID(ij_regid[IJ_LINEAR_CENTROID])); in tu6_emit_fs_inputs()
[all …]