Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_util.c208 }, rswiz[4]; in fd2_tex_swiz() local
210 util_format_compose_swizzles(desc->swizzle, swiz, rswiz); in fd2_tex_swiz()
212 return A2XX_SQ_TEX_3_SWIZ_X(tex_swiz(rswiz[0])) | in fd2_tex_swiz()
213 A2XX_SQ_TEX_3_SWIZ_Y(tex_swiz(rswiz[1])) | in fd2_tex_swiz()
214 A2XX_SQ_TEX_3_SWIZ_Z(tex_swiz(rswiz[2])) | in fd2_tex_swiz()
215 A2XX_SQ_TEX_3_SWIZ_W(tex_swiz(rswiz[3])); in fd2_tex_swiz()
223 unsigned char swiz[4], rswiz[4]; in fd2_vtx_swiz() local
228 util_format_compose_swizzles(desc->swizzle, swiz, rswiz); in fd2_vtx_swiz()
230 return rswiz[0] | rswiz[1] << 3 | rswiz[2] << 6 | rswiz[3] << 9; in fd2_vtx_swiz()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_format.c363 }, rswiz[4]; in fd3_tex_swiz() local
365 util_format_compose_swizzles(desc->swizzle, swiz, rswiz); in fd3_tex_swiz()
367 return A3XX_TEX_CONST_0_SWIZ_X(tex_swiz(rswiz[0])) | in fd3_tex_swiz()
368 A3XX_TEX_CONST_0_SWIZ_Y(tex_swiz(rswiz[1])) | in fd3_tex_swiz()
369 A3XX_TEX_CONST_0_SWIZ_Z(tex_swiz(rswiz[2])) | in fd3_tex_swiz()
370 A3XX_TEX_CONST_0_SWIZ_W(tex_swiz(rswiz[3])); in fd3_tex_swiz()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_format.c416 }, rswiz[4]; in fd5_tex_swiz() local
418 util_format_compose_swizzles(desc->swizzle, swiz, rswiz); in fd5_tex_swiz()
420 return A5XX_TEX_CONST_0_SWIZ_X(tex_swiz(rswiz[0])) | in fd5_tex_swiz()
421 A5XX_TEX_CONST_0_SWIZ_Y(tex_swiz(rswiz[1])) | in fd5_tex_swiz()
422 A5XX_TEX_CONST_0_SWIZ_Z(tex_swiz(rswiz[2])) | in fd5_tex_swiz()
423 A5XX_TEX_CONST_0_SWIZ_W(tex_swiz(rswiz[3])); in fd5_tex_swiz()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_format.c413 }, rswiz[4]; in fd4_tex_swiz() local
415 util_format_compose_swizzles(desc->swizzle, swiz, rswiz); in fd4_tex_swiz()
417 return A4XX_TEX_CONST_0_SWIZ_X(tex_swiz(rswiz[0])) | in fd4_tex_swiz()
418 A4XX_TEX_CONST_0_SWIZ_Y(tex_swiz(rswiz[1])) | in fd4_tex_swiz()
419 A4XX_TEX_CONST_0_SWIZ_Z(tex_swiz(rswiz[2])) | in fd4_tex_swiz()
420 A4XX_TEX_CONST_0_SWIZ_W(tex_swiz(rswiz[3])); in fd4_tex_swiz()