HomeSort by: relevance | last modified time | path
    Searched refs:swizzle (Results 1 - 25 of 789) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/
r300_fragprog_swizzle.h 35 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);
radeon_compiler_util.h 55 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/r300/compiler/
r300_fragprog_swizzle.h 35 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);
radeon_compiler_util.h 55 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/
pan_format.h 32 panfrost_translate_swizzle_4(const unsigned char swizzle[4]);
  /xsrc/external/mit/xorg-server/dist/glamor/
glamor_picture.c 44 static void byte_swap_swizzle(GLenum *swizzle)
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 the texture on sampling, because GLES
281 GLenum swizzle[4]; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/compiler/nir/tests/
serialize_tests.cpp 98 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, 1, GetParam())
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/
midgard_derivatives.c 107 .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/dist/src/gallium/drivers/v3d/
v3d_format_table.h 40 * Swizzle to apply to the RGBA shader output for storing to the tile
45 uint8_t swizzle[4]; member in struct:v3d_format
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/v3d/
v3d_format_table.h 40 * Swizzle to apply to the RGBA shader output for storing to the tile
45 uint8_t swizzle[4]; member in struct:v3d_format
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/ir/
lima_nir_split_load_input.c 55 uint8_t swizzle = alu->src[0].swizzle[0];
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/
bi_lower_swizzle.c 37 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 = BI_SWIZZLE_H01
    [all...]
bi_opt_constant_fold.c 45 uint32_t a = bi_apply_swizzle(I->src[0].value, I->src[0].swizzle);
46 uint32_t b = bi_apply_swizzle(I->src[1].value, I->src[1].swizzle);
47 uint32_t c = bi_apply_swizzle(I->src[2].value, I->src[2].swizzle);
48 uint32_t d = bi_apply_swizzle(I->src[3].value, I->src[3].swizzle);
  /xsrc/external/mit/MesaLib/dist/src/gallium/tests/graw/
tex-swizzle.c 120 init_tex(const unsigned swizzle[4])
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])
172 init_tex(swizzle);
205 uint swizzle[4]; local
208 swizzle[0] = PIPE_SWIZZLE_X;
209 swizzle[1] = PIPE_SWIZZLE_Y
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/graw/
tex-swizzle.c 120 init_tex(const unsigned swizzle[4])
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])
172 init_tex(swizzle);
205 uint swizzle[4]; local
208 swizzle[0] = PIPE_SWIZZLE_X;
209 swizzle[1] = PIPE_SWIZZLE_Y
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/
iris_formats.c 43 struct isl_swizzle swizzle = ISL_SWIZZLE_IDENTITY; local
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 = ISL_SWIZZLE(RED, GREEN, BLUE, ONE)
    [all...]
iris_pipe.h 58 * 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)
71 return (swizzle + 4) & 7;
  /xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
pan_util.c 28 /* Translate a PIPE swizzle quad to a 12-bit Mali swizzle code. PIPE
34 panfrost_translate_swizzle_4(const unsigned char swizzle[4])
39 unsigned translated = (swizzle[i] > PIPE_SWIZZLE_1) ? PIPE_SWIZZLE_0 : swizzle[i];
54 /* Now "do" what the swizzle says */
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/
crocus_pipe.h 58 * 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)
71 return (swizzle + 4) & 7;
  /xsrc/external/mit/MesaLib/dist/src/mesa/main/
format_utils.h 48 uint8_t swizzle[4], bool *normalized);
57 const uint8_t swizzle[4], bool normalized, int count);
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/
iris_pipe.h 58 * 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)
71 return (swizzle + 4) & 7;
  /xsrc/external/mit/MesaLib/dist/src/compiler/nir/
nir_opt_copy_propagate.c 45 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[i]].swizzle[0]
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
nir_search_helpers.h 36 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[i]) == 0
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/
r300_tgsi_to_rc.h 36 unsigned swizzle; member in struct:swizzled_imms
  /xsrc/external/mit/MesaLib/dist/src/intel/compiler/
brw_vec4_cmod_propagation.cpp 45 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, 1)
    [all...]

Completed in 20 milliseconds

1 2 3 4 5 6 7 8 91011>>