Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_dataflow_swizzles.c98 unsigned new_swizzle, chan, swz0, swz1, swz2, swz3, found_swizzle, swz; in try_rewrite_constant() local
148 swz1 = GET_SWZ(new_swizzle, 1); in try_rewrite_constant()
152 if (swz1 == RC_SWIZZLE_W || in try_rewrite_constant()
153 swz1 == RC_SWIZZLE_UNUSED || in try_rewrite_constant()
154 swz1 == RC_SWIZZLE_ZERO || in try_rewrite_constant()
155 swz1 == RC_SWIZZLE_HALF || in try_rewrite_constant()
156 swz1 == RC_SWIZZLE_ONE) { in try_rewrite_constant()
175 switch (swz1) { in try_rewrite_constant()
210 switch (swz1) { in try_rewrite_constant()
245 switch (swz1) { in try_rewrite_constant()
[all …]
Dradeon_optimize.c889 static unsigned int merge_swizzles(unsigned int swz1, unsigned int swz2) { in merge_swizzles() argument
892 unsigned int swz = GET_SWZ(swz1, chan); in merge_swizzles()
/third_party/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()
/third_party/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()
Dbrw_fs.cpp5479 unsigned swz0, unsigned swz1) in lower_derivative() argument
5486 ibld.emit(SHADER_OPCODE_QUAD_SWIZZLE, tmp1, inst->src[0], brw_imm_ud(swz1)); in lower_derivative()
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_schedule.c542 enum bi_swizzle swz1 = I->src[1].swizzle; in bi_impacted_fadd_widens() local
544 return (swz0 == BI_SWIZZLE_H00 && swz1 == BI_SWIZZLE_H11) || in bi_impacted_fadd_widens()
545 (swz0 == BI_SWIZZLE_H11 && swz1 == BI_SWIZZLE_H11) || in bi_impacted_fadd_widens()
546 (swz0 == BI_SWIZZLE_H11 && swz1 == BI_SWIZZLE_H00); in bi_impacted_fadd_widens()
/third_party/mesa3d/src/util/format/
Du_format.c899 void util_format_compose_swizzles(const unsigned char swz1[4], in util_format_compose_swizzles()
907 swz1[swz2[i]] : swz2[i]; in util_format_compose_swizzles()
Du_format.h1657 void util_format_compose_swizzles(const unsigned char swz1[4],