Home
last modified time | relevance | path

Searched refs:swz1 (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_dataflow_swizzles.c104 unsigned new_swizzle, chan, swz0, swz1, swz2, swz3, found_swizzle, swz; in try_rewrite_constant() local
153 swz1 = GET_SWZ(new_swizzle, 1); in try_rewrite_constant()
157 if (swz1 == RC_SWIZZLE_W || in try_rewrite_constant()
158 swz1 == RC_SWIZZLE_UNUSED || in try_rewrite_constant()
159 swz1 == RC_SWIZZLE_ZERO || in try_rewrite_constant()
160 swz1 == RC_SWIZZLE_HALF || in try_rewrite_constant()
161 swz1 == RC_SWIZZLE_ONE) { in try_rewrite_constant()
180 switch (swz1) { in try_rewrite_constant()
215 switch (swz1) { in try_rewrite_constant()
250 switch (swz1) { in try_rewrite_constant()
[all …]
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_asm.h108 static inline uint32_t inst_swiz_compose(uint32_t swz1, uint32_t swz2) in inst_swiz_compose() argument
110 return INST_SWIZ_X((swz1 >> (((swz2 >> 0)&3)*2))&3) | in inst_swiz_compose()
111 INST_SWIZ_Y((swz1 >> (((swz2 >> 2)&3)*2))&3) | in inst_swiz_compose()
112 INST_SWIZ_Z((swz1 >> (((swz2 >> 4)&3)*2))&3) | in inst_swiz_compose()
113 INST_SWIZ_W((swz1 >> (((swz2 >> 6)&3)*2))&3); in inst_swiz_compose()
/external/mesa3d/src/intel/compiler/
Dbrw_reg.h115 brw_compose_swizzle(unsigned swz0, unsigned swz1) in brw_compose_swizzle() argument
118 BRW_GET_SWZ(swz1, BRW_GET_SWZ(swz0, 0)), in brw_compose_swizzle()
119 BRW_GET_SWZ(swz1, BRW_GET_SWZ(swz0, 1)), in brw_compose_swizzle()
120 BRW_GET_SWZ(swz1, BRW_GET_SWZ(swz0, 2)), in brw_compose_swizzle()
121 BRW_GET_SWZ(swz1, BRW_GET_SWZ(swz0, 3))); in brw_compose_swizzle()
/external/mesa3d/prebuilt-intermediates/bifrost/
Dbi_generated_pack.h727 unsigned swz1 = swz1_temp; in pan_pack_fma_fma_v2f16() local
728 assert(swz1 < 4); in pan_pack_fma_fma_v2f16()
754 …return 0x400000 | (src0 << 0) | (src1 << 3) | (src2 << 6) | (swz0 << 9) | (swz1 << 11) | (round <<… in pan_pack_fma_fma_v2f16()
1837 unsigned swz1 = swz1_temp; in pan_pack_fma_imul_v2i16() local
1838 assert(swz1 < 4); in pan_pack_fma_imul_v2i16()
1840 return 0x7240c0 | (src0 << 0) | (src1 << 3) | (swz0 << 9) | (swz1 << 11); in pan_pack_fma_imul_v2i16()
2309 unsigned swz1 = swz1_temp; in pan_pack_add_fcmp_v2f16() local
2310 assert(swz1 < 4); in pan_pack_add_fcmp_v2f16()
2317 { unsigned temp = swz0; swz0 = swz1; swz1 = temp; } in pan_pack_add_fcmp_v2f16()
2329 …return 0xb0000 | (src0 << 0) | (src1 << 3) | (cmpf << 6) | (swz0 << 9) | (swz1 << 11) | (result_ty… in pan_pack_add_fcmp_v2f16()
[all …]
Dbifrost_gen_disasm.c332 const char *swz1 = swz1_table[_BITS(bits, 8, 2)]; in bi_disasm_add_icmp_v2s16() local
350 fputs(swz1, fp); in bi_disasm_add_icmp_v2s16()
2669 const char *swz1 = swz1_table[_BITS(bits, 11, 2)]; in bi_disasm_add_fadd_v2f16() local
2696 fputs(swz1, fp); in bi_disasm_add_fadd_v2f16()
3452 const char *swz1 = swz1_table[_BITS(bits, 8, 2)]; in bi_disasm_add_icmp_v2u16() local
3470 fputs(swz1, fp); in bi_disasm_add_icmp_v2u16()
4185 const char *swz1 = swz1_table[_BITS(bits, 11, 2)]; in bi_disasm_fma_fcmp_v2f16() local
4209 fputs(swz1, fp); in bi_disasm_fma_fcmp_v2f16()
4293 const char *swz1 = swz1_table[_BITS(bits, 8, 2)]; in bi_disasm_add_icmp_v2i16() local
4317 fputs(swz1, fp); in bi_disasm_add_icmp_v2i16()
[all …]
/external/virglrenderer/src/gallium/auxiliary/util/
Du_format.c397 void util_format_compose_swizzles(const unsigned char swz1[4], in util_format_compose_swizzles()
405 swz1[swz2[i]] : swz2[i]; in util_format_compose_swizzles()
Du_format.h998 void util_format_compose_swizzles(const unsigned char swz1[4],
/external/mesa3d/src/util/format/
Du_format.c827 void util_format_compose_swizzles(const unsigned char swz1[4], in util_format_compose_swizzles()
835 swz1[swz2[i]] : swz2[i]; in util_format_compose_swizzles()
Du_format.h1582 void util_format_compose_swizzles(const unsigned char swz1[4],