Searched refs:swizzle (Results 1 - 25 of 839) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/
H A Dr300_fragprog_swizzle.h35 unsigned int r300FPTranslateRGBSwizzle(unsigned int src, unsigned int swizzle);
36 unsigned int r300FPTranslateAlphaSwizzle(unsigned int src, unsigned int swizzle);
37 int r300_swizzle_is_native_basic(unsigned int swizzle);
H A Dradeon_compiler_util.h55 unsigned swizzle_mask(unsigned swizzle, unsigned mask);
70 unsigned int swizzle,
73 struct rc_src_register lmul_swizzle(unsigned int swizzle, struct rc_src_register srcreg);
85 unsigned int rc_source_type_swz(unsigned int swizzle);
124 unsigned int swizzle,
128 unsigned int rc_get_scalar_src_swz(unsigned int swizzle);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/
H A Dr300_fragprog_swizzle.h35 unsigned int r300FPTranslateRGBSwizzle(unsigned int src, unsigned int swizzle);
36 unsigned int r300FPTranslateAlphaSwizzle(unsigned int src, unsigned int swizzle);
37 int r300_swizzle_is_native_basic(unsigned int swizzle);
H A Dradeon_compiler_util.h55 unsigned swizzle_mask(unsigned swizzle, unsigned mask);
70 unsigned int swizzle,
73 struct rc_src_register lmul_swizzle(unsigned int swizzle, struct rc_src_register srcreg);
85 unsigned int rc_source_type_swz(unsigned int swizzle);
124 unsigned int swizzle,
128 unsigned int rc_get_scalar_src_swz(unsigned int swizzle);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/
H A Dpan_format.h32 panfrost_translate_swizzle_4(const unsigned char swizzle[4]);
/xsrc/external/mit/xorg-server/dist/glamor/
H A Dglamor_picture.c44 static void byte_swap_swizzle(GLenum *swizzle) argument
48 temp = swizzle[0];
49 swizzle[0] = swizzle[3];
50 swizzle[3] = temp;
52 temp = swizzle[1];
53 swizzle[1] = swizzle[2];
54 swizzle[2] = temp;
62 * to tell the GL to swizzle th
68 glamor_get_tex_format_type_from_pictformat(ScreenPtr pScreen,PictFormatShort format,PictFormatShort * temp_format,GLenum * tex_format,GLenum * tex_type,GLenum * swizzle) argument
281 GLenum swizzle[4]; local in function:glamor_upload_picture_to_texture
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/tests/
H A Dserialize_tests.cpp98 ASSERT_EQ(memcmp(a->src[s].swizzle, b->src[s].swizzle, c), 0);
132 memset(fmax_alu->src[0].swizzle, GetParam() - 1, NIR_MAX_VEC_COMPONENTS);
133 memset(fmax_alu->src[1].swizzle, GetParam() - 1, NIR_MAX_VEC_COMPONENTS);
156 vec_alu->src[i].swizzle[0] = (GetParam() - 1) - i;
174 memset(fma_alu->src[0].swizzle, 1, GetParam());
175 memset(fma_alu->src[1].swizzle, 1, GetParam());
176 memset(fma_alu->src[2].swizzle, 1, GetParam());
193 memset(fma_alu->src[0].swizzle, 1, GetParam());
194 memset(fma_alu->src[1].swizzle,
[all...]
/xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/
H A Dmidgard_derivatives.c107 .swizzle = SWIZZLE_IDENTITY_4,
150 dup.swizzle[0][0] = dup.swizzle[0][1] = dup.swizzle[0][2] = COMPONENT_X;
151 dup.swizzle[0][3] = COMPONENT_Y;
153 dup.swizzle[1][0] = COMPONENT_Z;
154 dup.swizzle[1][1] = dup.swizzle[1][2] = dup.swizzle[1][3] = COMPONENT_W;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/v3d/
H A Dv3d_format_table.h45 uint8_t swizzle[4]; member in struct:v3d_format
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/v3d/
H A Dv3d_format_table.h45 uint8_t swizzle[4]; member in struct:v3d_format
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/ir/
H A Dlima_nir_split_load_input.c55 uint8_t swizzle = alu->src[0].swizzle[0]; local in function:lima_nir_split_load_input_instr
59 if (alu->src[0].swizzle[i] != (swizzle + i))
66 if (nir_dest_num_components(alu->dest.dest) == 3 && swizzle > 0)
71 swizzle != 0 && swizzle != 2)
84 nir_intrinsic_set_component(new_intrin, nir_intrinsic_component(intrin) + swizzle);
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
H A Dbi_lower_swizzle.c37 if (ins->src[src].swizzle == BI_SWIZZLE_H01)
50 * derivatives, which might require swizzle lowering */
55 * boolean is implemented as a 16-bit integer, the swizzle is needed
58 * register. As such, we may need to lower a swizzle.
72 if (src == 0 && ins->src[src].swizzle != BI_SWIZZLE_H10)
88 * the swizzle outside, it's easier for clamp propagation. */
105 if (ins->dest[0].swizzle == BI_SWIZZLE_H00 &&
106 ins->src[src].swizzle == BI_SWIZZLE_H00)
108 ins->src[src].swizzle = BI_SWIZZLE_H01;
116 ins->src[src].swizzle
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/graw/
H A Dtex-swizzle.c120 init_tex(const unsigned swizzle[4]) argument
142 sv_template.swizzle_r = swizzle[0];
143 sv_template.swizzle_g = swizzle[1];
144 sv_template.swizzle_b = swizzle[2];
145 sv_template.swizzle_a = swizzle[3];
163 init(const unsigned swizzle[4]) argument
172 init_tex(swizzle);
205 uint swizzle[4]; local in function:main
208 swizzle[0] = PIPE_SWIZZLE_X;
209 swizzle[
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/tests/graw/
H A Dtex-swizzle.c120 init_tex(const unsigned swizzle[4]) argument
142 sv_template.swizzle_r = swizzle[0];
143 sv_template.swizzle_g = swizzle[1];
144 sv_template.swizzle_b = swizzle[2];
145 sv_template.swizzle_a = swizzle[3];
163 init(const unsigned swizzle[4]) argument
172 init_tex(swizzle);
205 uint swizzle[4]; local in function:main
208 swizzle[0] = PIPE_SWIZZLE_X;
209 swizzle[
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/
H A Diris_formats.c43 struct isl_swizzle swizzle = ISL_SWIZZLE_IDENTITY; local in function:iris_format_for_usage
46 return (struct iris_format_info) { .fmt = format, .swizzle = swizzle };
52 swizzle = ISL_SWIZZLE(RED, RED, RED, RED);
54 swizzle = ISL_SWIZZLE(RED, RED, RED, ONE);
56 swizzle = ISL_SWIZZLE(RED, RED, RED, GREEN);
58 swizzle = ISL_SWIZZLE(ZERO, ZERO, ZERO, RED);
64 swizzle = ISL_SWIZZLE(RED, GREEN, BLUE, ONE);
76 swizzle = ISL_SWIZZLE_IDENTITY;
93 swizzle
[all...]
H A Diris_pipe.h58 * Convert an swizzle enumeration (i.e. PIPE_SWIZZLE_X) to one of the HW's
69 pipe_swizzle_to_isl_channel(enum pipe_swizzle swizzle) argument
71 return (swizzle + 4) & 7;
/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
H A Dpan_util.c28 /* Translate a PIPE swizzle quad to a 12-bit Mali swizzle code. PIPE
34 panfrost_translate_swizzle_4(const unsigned char swizzle[4]) argument
39 unsigned translated = (swizzle[i] > PIPE_SWIZZLE_1) ? PIPE_SWIZZLE_0 : swizzle[i];
54 /* Now "do" what the swizzle says */
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/
H A Diris_pipe.h58 * Convert an swizzle enumeration (i.e. PIPE_SWIZZLE_X) to one of the HW's
69 pipe_swizzle_to_isl_channel(enum pipe_swizzle swizzle) argument
71 return (swizzle + 4) & 7;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/
H A Dcrocus_pipe.h58 * Convert an swizzle enumeration (i.e. PIPE_SWIZZLE_X) to one of the HW's
69 pipe_swizzle_to_isl_channel(enum pipe_swizzle swizzle) argument
71 return (swizzle + 4) & 7;
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dformat_utils.h48 uint8_t swizzle[4], bool *normalized);
57 const uint8_t swizzle[4], bool normalized, int count);
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_opt_copy_propagate.c45 if (instr->src[0].swizzle[i] != i)
50 if (instr->src[i].swizzle[0] != i ||
72 new_vec->src[i] = vec->src[mov->src[0].swizzle[i]];
96 src->swizzle[i] = copy->src[0].swizzle[src->swizzle[i]];
98 def = copy->src[src->swizzle[0]].src.ssa;
101 if (copy->src[src->swizzle[i]].src.ssa != def)
106 src->swizzle[i] = copy->src[src->swizzle[
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_search_helpers.h36 const uint8_t *swizzle)
45 int64_t val = nir_src_comp_as_int(instr->src[src].src, swizzle[i]);
51 uint64_t val = nir_src_comp_as_uint(instr->src[src].src, swizzle[i]);
66 const uint8_t *swizzle)
75 int64_t val = nir_src_comp_as_int(instr->src[src].src, swizzle[i]);
90 const uint8_t *swizzle)
99 double val = nir_src_comp_as_float(instr->src[src].src, swizzle[i]);
114 const uint8_t *swizzle)
122 if (nir_src_comp_as_float(instr->src[src].src, swizzle[i]) == 0.0)
128 if (nir_src_comp_as_uint(instr->src[src].src, swizzle[
35 is_pos_power_of_two(nir_alu_instr * instr,unsigned src,unsigned num_components,const uint8_t * swizzle) argument
65 is_neg_power_of_two(nir_alu_instr * instr,unsigned src,unsigned num_components,const uint8_t * swizzle) argument
89 is_zero_to_one(nir_alu_instr * instr,unsigned src,unsigned num_components,const uint8_t * swizzle) argument
113 is_not_const_zero(nir_alu_instr * instr,unsigned src,unsigned num_components,const uint8_t * swizzle) argument
140 is_not_const(nir_alu_instr * instr,unsigned src,UNUSED unsigned num_components,UNUSED const uint8_t * swizzle) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/
H A Dr300_tgsi_to_rc.h36 unsigned swizzle; member in struct:swizzled_imms
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_vec4_cmod_propagation.cpp45 later->src[0].swizzle != BRW_SWIZZLE_XYZW) ||
163 ((inst->src[0].swizzle == BRW_SWIZZLE_XXXX &&
165 (inst->src[0].swizzle == BRW_SWIZZLE_YYYY &&
167 (inst->src[0].swizzle == BRW_SWIZZLE_ZZZZ &&
169 (inst->src[0].swizzle == BRW_SWIZZLE_WWWW &&
188 temp.swizzle = brw_swizzle_for_mask(inst->dst.writemask);
206 src0_chan = BRW_GET_SWZ(scan_inst->src[0].swizzle, 0);
207 src1_chan = BRW_GET_SWZ(scan_inst->src[1].swizzle, 0);
210 src0_chan = BRW_GET_SWZ(scan_inst->src[0].swizzle, 1);
211 src1_chan = BRW_GET_SWZ(scan_inst->src[1].swizzle,
[all...]
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_vec4_cmod_propagation.cpp45 later->src[0].swizzle != BRW_SWIZZLE_XYZW) ||
163 ((inst->src[0].swizzle == BRW_SWIZZLE_XXXX &&
165 (inst->src[0].swizzle == BRW_SWIZZLE_YYYY &&
167 (inst->src[0].swizzle == BRW_SWIZZLE_ZZZZ &&
169 (inst->src[0].swizzle == BRW_SWIZZLE_WWWW &&
188 temp.swizzle = brw_swizzle_for_mask(inst->dst.writemask);
206 src0_chan = BRW_GET_SWZ(scan_inst->src[0].swizzle, 0);
207 src1_chan = BRW_GET_SWZ(scan_inst->src[1].swizzle, 0);
210 src0_chan = BRW_GET_SWZ(scan_inst->src[0].swizzle, 1);
211 src1_chan = BRW_GET_SWZ(scan_inst->src[1].swizzle,
[all...]

Completed in 12 milliseconds

1234567891011>>