Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_program.c158 uint32_t pos_regid, posz_regid, psize_regid, color_regid[8]; in fd4_program_emit() local
164 debug_assert(nr <= ARRAY_SIZE(color_regid)); in fd4_program_emit()
187 color_regid[0] = color_regid[1] = color_regid[2] = color_regid[3] = in fd4_program_emit()
188 color_regid[4] = color_regid[5] = color_regid[6] = color_regid[7] = in fd4_program_emit()
191 color_regid[0] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA0); in fd4_program_emit()
192 color_regid[1] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA1); in fd4_program_emit()
193 color_regid[2] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA2); in fd4_program_emit()
194 color_regid[3] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA3); in fd4_program_emit()
195 color_regid[4] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA4); in fd4_program_emit()
196 color_regid[5] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA5); in fd4_program_emit()
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_program.c103 uint32_t color_regid[4] = {0}; in fd3_program_emit() local
107 debug_assert(nr <= ARRAY_SIZE(color_regid)); in fd3_program_emit()
162 color_regid[0] = color_regid[1] = color_regid[2] = color_regid[3] = in fd3_program_emit()
165 color_regid[0] = ir3_find_output_regid(fp, FRAG_RESULT_DATA0); in fd3_program_emit()
166 color_regid[1] = ir3_find_output_regid(fp, FRAG_RESULT_DATA1); in fd3_program_emit()
167 color_regid[2] = ir3_find_output_regid(fp, FRAG_RESULT_DATA2); in fd3_program_emit()
168 color_regid[3] = ir3_find_output_regid(fp, FRAG_RESULT_DATA3); in fd3_program_emit()
189 color_regid[i] += 3; in fd3_program_emit()
336 A3XX_SP_FS_MRT_REG_REGID(color_regid[i]) | in fd3_program_emit()
337 COND(color_regid[i] & HALF_REG_ID, A3XX_SP_FS_MRT_REG_HALF_PRECISION); in fd3_program_emit()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_program.c241 uint32_t pos_regid, psize_regid, color_regid[8]; in fd5_program_emit() local
267 color_regid[0] = color_regid[1] = color_regid[2] = color_regid[3] = in fd5_program_emit()
268 color_regid[4] = color_regid[5] = color_regid[6] = color_regid[7] = in fd5_program_emit()
271 color_regid[0] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA0); in fd5_program_emit()
272 color_regid[1] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA1); in fd5_program_emit()
273 color_regid[2] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA2); in fd5_program_emit()
274 color_regid[3] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA3); in fd5_program_emit()
275 color_regid[4] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA4); in fd5_program_emit()
276 color_regid[5] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA5); in fd5_program_emit()
277 color_regid[6] = ir3_find_output_regid(s[FS].v, FRAG_RESULT_DATA6); in fd5_program_emit()
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_program.c356 uint32_t pos_regid, psize_regid, color_regid[8], posz_regid; in setup_stateobj() local
442 color_regid[0] = color_regid[1] = color_regid[2] = color_regid[3] = in setup_stateobj()
443 color_regid[4] = color_regid[5] = color_regid[6] = color_regid[7] = in setup_stateobj()
446 color_regid[0] = ir3_find_output_regid(fs, FRAG_RESULT_DATA0); in setup_stateobj()
447 color_regid[1] = ir3_find_output_regid(fs, FRAG_RESULT_DATA1); in setup_stateobj()
448 color_regid[2] = ir3_find_output_regid(fs, FRAG_RESULT_DATA2); in setup_stateobj()
449 color_regid[3] = ir3_find_output_regid(fs, FRAG_RESULT_DATA3); in setup_stateobj()
450 color_regid[4] = ir3_find_output_regid(fs, FRAG_RESULT_DATA4); in setup_stateobj()
451 color_regid[5] = ir3_find_output_regid(fs, FRAG_RESULT_DATA5); in setup_stateobj()
452 color_regid[6] = ir3_find_output_regid(fs, FRAG_RESULT_DATA6); in setup_stateobj()
[all …]