Home
last modified time | relevance | path

Searched refs:color_regid (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_program.c166 uint32_t pos_regid, posz_regid, psize_regid, color_regid[8]; in fd4_program_emit() local
172 debug_assert(nr <= ARRAY_SIZE(color_regid)); in fd4_program_emit()
195 color_regid[0] = color_regid[1] = color_regid[2] = color_regid[3] = in fd4_program_emit()
196 color_regid[4] = color_regid[5] = color_regid[6] = color_regid[7] = in fd4_program_emit()
199 color_regid[0] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA0); in fd4_program_emit()
200 color_regid[1] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA1); in fd4_program_emit()
201 color_regid[2] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA2); in fd4_program_emit()
202 color_regid[3] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA3); in fd4_program_emit()
203 color_regid[4] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA4); in fd4_program_emit()
204 color_regid[5] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA5); in fd4_program_emit()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_program.c106 uint32_t color_regid[4] = {0}; in fd3_program_emit() local
110 debug_assert(nr <= ARRAY_SIZE(color_regid)); in fd3_program_emit()
165 color_regid[0] = color_regid[1] = color_regid[2] = color_regid[3] = in fd3_program_emit()
168 color_regid[0] = ir3_find_output_regid(fp, FRAG_RESULT_DATA0); in fd3_program_emit()
169 color_regid[1] = ir3_find_output_regid(fp, FRAG_RESULT_DATA1); in fd3_program_emit()
170 color_regid[2] = ir3_find_output_regid(fp, FRAG_RESULT_DATA2); in fd3_program_emit()
171 color_regid[3] = ir3_find_output_regid(fp, FRAG_RESULT_DATA3); in fd3_program_emit()
187 color_regid[i] += 3; in fd3_program_emit()
330 uint32_t mrt_reg = A3XX_SP_FS_MRT_REG_REGID(color_regid[i]) | in fd3_program_emit()
331 COND(color_regid[i] & HALF_REG_ID, A3XX_SP_FS_MRT_REG_HALF_PRECISION); in fd3_program_emit()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_program.c288 uint32_t pos_regid, psize_regid, color_regid[8]; in fd5_program_emit() local
305 color_regid[0] = color_regid[1] = color_regid[2] = color_regid[3] = in fd5_program_emit()
306 color_regid[4] = color_regid[5] = color_regid[6] = color_regid[7] = in fd5_program_emit()
309 color_regid[0] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA0); in fd5_program_emit()
310 color_regid[1] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA1); in fd5_program_emit()
311 color_regid[2] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA2); in fd5_program_emit()
312 color_regid[3] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA3); in fd5_program_emit()
313 color_regid[4] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA4); in fd5_program_emit()
314 color_regid[5] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA5); in fd5_program_emit()
315 color_regid[6] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA6); in fd5_program_emit()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_program.c318 uint32_t pos_regid, psize_regid, color_regid[8], posz_regid; in setup_stateobj() local
390 color_regid[0] = color_regid[1] = color_regid[2] = color_regid[3] = in setup_stateobj()
391 color_regid[4] = color_regid[5] = color_regid[6] = color_regid[7] = in setup_stateobj()
394 color_regid[0] = ir3_find_output_regid(fs, FRAG_RESULT_DATA0); in setup_stateobj()
395 color_regid[1] = ir3_find_output_regid(fs, FRAG_RESULT_DATA1); in setup_stateobj()
396 color_regid[2] = ir3_find_output_regid(fs, FRAG_RESULT_DATA2); in setup_stateobj()
397 color_regid[3] = ir3_find_output_regid(fs, FRAG_RESULT_DATA3); in setup_stateobj()
398 color_regid[4] = ir3_find_output_regid(fs, FRAG_RESULT_DATA4); in setup_stateobj()
399 color_regid[5] = ir3_find_output_regid(fs, FRAG_RESULT_DATA5); in setup_stateobj()
400 color_regid[6] = ir3_find_output_regid(fs, FRAG_RESULT_DATA6); in setup_stateobj()
[all …]