Searched refs:swz1 (Results 1 - 14 of 14) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_asm.h93 /* Compose two swizzles (computes swz1.swz2) */
94 static inline uint32_t inst_swiz_compose(uint32_t swz1, uint32_t swz2) argument
96 return INST_SWIZ_X((swz1 >> (((swz2 >> 0)&3)*2))&3) |
97 INST_SWIZ_Y((swz1 >> (((swz2 >> 2)&3)*2))&3) |
98 INST_SWIZ_Z((swz1 >> (((swz2 >> 4)&3)*2))&3) |
99 INST_SWIZ_W((swz1 >> (((swz2 >> 6)&3)*2))&3);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_asm.h107 /* Compose two swizzles (computes swz1.swz2) */
108 static inline uint32_t inst_swiz_compose(uint32_t swz1, uint32_t swz2) argument
110 return INST_SWIZ_X((swz1 >> (((swz2 >> 0)&3)*2))&3) |
111 INST_SWIZ_Y((swz1 >> (((swz2 >> 2)&3)*2))&3) |
112 INST_SWIZ_Z((swz1 >> (((swz2 >> 4)&3)*2))&3) |
113 INST_SWIZ_W((swz1 >> (((swz2 >> 6)&3)*2))&3);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_dataflow_swizzles.c104 unsigned new_swizzle, chan, swz0, swz1, swz2, swz3, found_swizzle, swz; local in function:try_rewrite_constant
153 swz1 = GET_SWZ(new_swizzle, 1);
157 if (swz1 == RC_SWIZZLE_W ||
158 swz1 == RC_SWIZZLE_UNUSED ||
159 swz1 == RC_SWIZZLE_ZERO ||
160 swz1 == RC_SWIZZLE_HALF ||
161 swz1 == RC_SWIZZLE_ONE) {
180 switch (swz1) {
215 switch (swz1) {
250 switch (swz1) {
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_dataflow_swizzles.c104 unsigned new_swizzle, chan, swz0, swz1, swz2, swz3, found_swizzle, swz; local in function:try_rewrite_constant
153 swz1 = GET_SWZ(new_swizzle, 1);
157 if (swz1 == RC_SWIZZLE_W ||
158 swz1 == RC_SWIZZLE_UNUSED ||
159 swz1 == RC_SWIZZLE_ZERO ||
160 swz1 == RC_SWIZZLE_HALF ||
161 swz1 == RC_SWIZZLE_ONE) {
180 switch (swz1) {
215 switch (swz1) {
250 switch (swz1) {
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_reg.h111 * of \p swz1. The argument ordering is expected to match function
115 brw_compose_swizzle(unsigned swz0, unsigned swz1) argument
118 BRW_GET_SWZ(swz1, BRW_GET_SWZ(swz0, 0)),
119 BRW_GET_SWZ(swz1, BRW_GET_SWZ(swz0, 1)),
120 BRW_GET_SWZ(swz1, BRW_GET_SWZ(swz0, 2)),
121 BRW_GET_SWZ(swz1, BRW_GET_SWZ(swz0, 3)));
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_reg.h111 * of \p swz1. The argument ordering is expected to match function
115 brw_compose_swizzle(unsigned swz0, unsigned swz1) argument
118 BRW_GET_SWZ(swz1, BRW_GET_SWZ(swz0, 0)),
119 BRW_GET_SWZ(swz1, BRW_GET_SWZ(swz0, 1)),
120 BRW_GET_SWZ(swz1, BRW_GET_SWZ(swz0, 2)),
121 BRW_GET_SWZ(swz1, BRW_GET_SWZ(swz0, 3)));
H A Dbrw_fs.cpp7987 * swizzles of the source, specified as \p swz0 and \p swz1.
7991 unsigned swz0, unsigned swz1)
7998 ibld.emit(SHADER_OPCODE_QUAD_SWIZZLE, tmp1, inst->src[0], brw_imm_ud(swz1));
7990 lower_derivative(fs_visitor * v,bblock_t * block,fs_inst * inst,unsigned swz0,unsigned swz1) argument
/xsrc/external/mit/MesaLib/src/panfrost/bifrost/
H A Dbi_packer.c541 unsigned swz1 = swz1_table[I->src[1].swizzle]; local in function:bi_pack_fma_fadd_v2f16
542 assert(swz1 < 4);
551 { unsigned temp = swz0; swz0 = swz1; swz1 = temp; }
559 return 0x6c0000 | (src0 << 0) | (src1 << 3) | (neg0 << 7) | (neg1 << 8) | (swz0 << 9) | (swz1 << 11) | (round << 13) | (clamp << 15) | (derived_6 << 6);
647 unsigned swz1 = swz1_table[I->src[1].swizzle]; local in function:bi_pack_fma_fcmp_v2f16
648 assert(swz1 < 4);
655 { unsigned temp = swz0; swz0 = swz1; swz1 = temp; }
678 return 0x640000 | (src0 << 0) | (src1 << 3) | (neg0 << 7) | (neg1 << 8) | (swz0 << 9) | (swz1 << 1
759 unsigned swz1 = swz1_table[I->src[1].swizzle]; local in function:bi_pack_fma_fma_v2f16
1105 unsigned swz1 = swz1_table[I->src[1].swizzle]; local in function:bi_pack_fma_imul_v2i16
2765 unsigned swz1 = swz1_table[I->src[1].swizzle]; local in function:bi_pack_add_fadd_v2f16
2874 unsigned swz1 = swz1_table[I->src[1].swizzle]; local in function:bi_pack_add_fcmp_v2f16
3027 unsigned swz1 = swz1_table[I->src[1].swizzle]; local in function:bi_pack_add_fmax_v2f16
3083 unsigned swz1 = swz1_table[I->src[1].swizzle]; local in function:bi_pack_add_fmin_v2f16
3890 unsigned swz1 = swz1_table[I->src[1].swizzle]; local in function:bi_pack_add_icmp_v2i16
3912 unsigned swz1 = swz1_table[I->src[1].swizzle]; local in function:bi_pack_add_icmp_v2s16
3946 unsigned swz1 = swz1_table[I->src[1].swizzle]; local in function:bi_pack_add_icmp_v2u16
[all...]
H A Dbifrost_gen_disasm.c822 const char *swz1 = swz1_table[_BITS(bits, 11, 2)]; local in function:bi_disasm_fma_fadd_v2f16
852 fputs(swz1, fp);
1010 const char *swz1 = swz1_table[_BITS(bits, 11, 2)]; local in function:bi_disasm_fma_fcmp_v2f16
1034 fputs(swz1, fp);
1166 const char *swz1 = swz1_table[_BITS(bits, 11, 2)]; local in function:bi_disasm_fma_fma_v2f16
1206 fputs(swz1, fp);
1991 const char *swz1 = swz1_table[_BITS(bits, 11, 2)]; local in function:bi_disasm_fma_imul_v2i16
2003 fputs(swz1, fp);
4893 const char *swz1 = swz1_table[_BITS(bits, 11, 2)]; local in function:bi_disasm_add_fadd_v2f16
4920 fputs(swz1, f
5151 const char *swz1 = swz1_table[_BITS(bits, 11, 2)]; local in function:bi_disasm_add_fcmp_v2f16
5554 const char *swz1 = swz1_table[_BITS(bits, 11, 2)]; local in function:bi_disasm_add_fmax_v2f16
5672 const char *swz1 = swz1_table[_BITS(bits, 11, 2)]; local in function:bi_disasm_add_fmin_v2f16
7372 const char *swz1 = swz1_table[_BITS(bits, 8, 2)]; local in function:bi_disasm_add_icmp_v2i16
7416 const char *swz1 = swz1_table[_BITS(bits, 8, 2)]; local in function:bi_disasm_add_icmp_v2s16
7454 const char *swz1 = swz1_table[_BITS(bits, 8, 2)]; local in function:bi_disasm_add_icmp_v2u16
[all...]
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
H A Dbi_schedule.c524 enum bi_swizzle swz1 = I->src[1].swizzle; local in function:bi_impacted_fadd_widens
526 return (swz0 == BI_SWIZZLE_H00 && swz1 == BI_SWIZZLE_H11) ||
527 (swz0 == BI_SWIZZLE_H11 && swz1 == BI_SWIZZLE_H11) ||
528 (swz0 == BI_SWIZZLE_H11 && swz1 == BI_SWIZZLE_H00);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_format.c848 void util_format_compose_swizzles(const unsigned char swz1[4], argument
856 swz1[swz2[i]] : swz2[i];
H A Du_format.h1356 * swz2(swz1(V)) = dst(V)
1358 void util_format_compose_swizzles(const unsigned char swz1[4],
/xsrc/external/mit/MesaLib/dist/src/util/format/
H A Du_format.c898 void util_format_compose_swizzles(const unsigned char swz1[4], argument
906 swz1[swz2[i]] : swz2[i];
H A Du_format.h1653 * swz2(swz1(V)) = dst(V)
1655 void util_format_compose_swizzles(const unsigned char swz1[4],

Completed in 93 milliseconds