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

1 2 3 4 5 6 7 8 91011>>

  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/
d3d12_format.h 49 const enum pipe_swizzle *swizzle; member in struct:d3d12_format_info
d3d12_format.c 207 const enum pipe_swizzle *swizzle = IDENTITY_SWIZZLE; local
212 swizzle = RGB1_SWIZZLE;
218 swizzle = BUFFER_SWIZZLE;
220 /* no need to swizzle, it's natively supported */
222 swizzle = INTENSITY_SWIZZLE;
224 swizzle = LUMINANCE_SWIZZLE;
226 swizzle = LUMINANCE_ALPHA_SWIZZLE;
228 swizzle = ALPHA_SWIZZLE;
230 swizzle = DEPTH_SWIZZLE;
234 * but the shader will read the x component so we need to adjust the swizzle. *
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/core/core/
format_traits.h 36 /// FormatSwizzle - Component swizzle selects
41 // Return swizzle select for component.
42 INLINE static uint32_t swizzle(uint32_t c) function in struct:FormatSwizzle
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/
sfn_shader_tcs.cpp 100 const GPRVector::Swizzle& swizzle = (instr->src[0].ssa->num_components == 4) ? local
101 GPRVector::Swizzle({0, 1, 2, 3}) : GPRVector::Swizzle({0, 1, 7, 7});
103 (1 << instr->src[0].ssa->num_components) - 1, swizzle);
sfn_value_gpr.cpp 110 GPRVector::GPRVector(uint32_t sel, std::array<uint32_t,4> swizzle):
115 m_elms[i] = PValue(new GPRValue(sel, swizzle[i]));
118 GPRVector::GPRVector(const GPRVector& orig, const std::array<uint8_t,4>& swizzle)
121 m_elms[i] = orig.reg_i(swizzle[i]);
174 void GPRVector::swizzle(const Swizzle& swz) function in class:r600::GPRVector
  /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/dist/src/mesa/main/
uniforms.h 515 int swizzle; member in struct:gl_builtin_uniform_element
  /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.old/dist/src/mesa/main/
uniforms.h 509 int swizzle; member in struct:gl_builtin_uniform_element
  /xsrc/external/mit/MesaLib/dist/src/compiler/nir/
nir_move_vec_src_uses_to_dest.c 113 int8_t swizzle[NIR_MAX_VEC_COMPONENTS]; local
114 memset(swizzle, -1, sizeof(swizzle));
124 swizzle[vec->src[j].swizzle[0]] = j;
153 if (swizzle[use_alu_src->swizzle[j]] == -1) {
172 use_alu_src->swizzle[j] = swizzle[use_alu_src->swizzle[j]]
    [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...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/
nv30_format.h 24 unsigned swizzle; member in struct:nv30_texfmt
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/
r300_tgsi_to_rc.h 36 unsigned swizzle; member in struct:swizzled_imms
r300_state_inlines.h 416 unsigned i, swizzle = 0; local
433 swizzle |=
434 MIN2(desc->swizzle[i], R300_SWIZZLE_SELECT_FP_ONE) << (3*i);
438 swizzle |= R300_SWIZZLE_SELECT_FP_ZERO << (3*i);
441 swizzle |= R300_SWIZZLE_SELECT_FP_ONE << (3*i);
444 return swizzle | (0xf << R300_WRITE_ENA_SHIFT);
r300_tgsi_to_rc.c 183 dst->Swizzle = tgsi_util_get_full_src_register_swizzle(src, 0);
184 dst->Swizzle |= tgsi_util_get_full_src_register_swizzle(src, 1) << 3;
185 dst->Swizzle |= tgsi_util_get_full_src_register_swizzle(src, 2) << 6;
186 dst->Swizzle |= tgsi_util_get_full_src_register_swizzle(src, 3) << 9;
195 dst->Swizzle = 0;
197 dst->Swizzle |= GET_SWZ(ttr->imms_to_swizzle[i].swizzle,
295 unsigned swizzle = 0; local
301 swizzle |= RC_SWIZZLE_ZERO << (i * 3);
303 swizzle |= RC_SWIZZLE_HALF << (i * 3)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
nir_move_vec_src_uses_to_dest.c 113 int8_t swizzle[4] = { -1, -1, -1, -1 }; local
123 swizzle[vec->src[j].swizzle[0]] = j;
152 if (swizzle[use_alu_src->swizzle[j]] == -1) {
171 use_alu_src->swizzle[j] = swizzle[use_alu_src->swizzle[j]];
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/
iris_formats.c 329 struct isl_swizzle swizzle = ISL_SWIZZLE_IDENTITY; local
333 swizzle = ISL_SWIZZLE(RED, RED, RED, RED);
335 swizzle = ISL_SWIZZLE(RED, RED, RED, ONE);
337 swizzle = ISL_SWIZZLE(RED, RED, RED, GREEN);
339 swizzle = ISL_SWIZZLE(ZERO, ZERO, ZERO, RED);
345 swizzle = ISL_SWIZZLE(RED, GREEN, BLUE, ONE);
357 swizzle = ISL_SWIZZLE_IDENTITY;
374 swizzle = ISL_SWIZZLE(RED, GREEN, BLUE, ONE);
377 return (struct iris_format_info) { .fmt = format, .swizzle = swizzle };
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv30/
nv30_format.h 24 unsigned swizzle; member in struct:nv30_texfmt
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/
r300_tgsi_to_rc.h 36 unsigned swizzle; member in struct:swizzled_imms
r300_state_inlines.h 416 unsigned i, swizzle = 0; local
433 swizzle |=
434 MIN2(desc->swizzle[i], R300_SWIZZLE_SELECT_FP_ONE) << (3*i);
438 swizzle |= R300_SWIZZLE_SELECT_FP_ZERO << (3*i);
441 swizzle |= R300_SWIZZLE_SELECT_FP_ONE << (3*i);
444 return swizzle | (0xf << R300_WRITE_ENA_SHIFT);
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
vc4_formats.c 55 * Swizzle to apply to the RGBA shader output for storing to the tile
60 uint8_t swizzle[4]; member in struct:vc4_format
169 return vf->swizzle;
  /xsrc/external/mit/MesaLib/dist/src/intel/compiler/
brw_nir_opt_peephole_ffma.c 71 uint8_t swizzle[4], bool *negate, bool *abs)
95 swizzle, negate, abs);
100 swizzle, negate, abs);
106 swizzle, negate, abs);
127 /* Copy swizzle data before overwriting it to avoid setting a wrong swizzle.
130 * Former swizzle[] = xyzw
131 * src->swizzle[] = zyxx
133 * Expected output swizzle = zyxx
134 * If we reuse swizzle in the loop, then output swizzle would be zyzz
192 uint8_t add_mul_src, swizzle[4]; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
brw_pixel_read.c 142 * The killer on top is that some gfx4 have an L-shaped swizzle mode, where
242 unsigned swizzle; local
244 swizzle = MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_ONE);
246 swizzle = SWIZZLE_XYZW;
249 return brw_blorp_download_miptree(brw, irb->mt, rb->Format, swizzle,
  /xsrc/external/mit/MesaLib/dist/src/mesa/program/
prog_instruction.c 49 inst[i].SrcReg[0].Swizzle = SWIZZLE_NOOP;
51 inst[i].SrcReg[1].Swizzle = SWIZZLE_NOOP;
53 inst[i].SrcReg[2].Swizzle = SWIZZLE_NOOP;
230 GLuint swizzle = GET_SWZ(inst->SrcReg[i].Swizzle, chan); local
231 if (swizzle <= SWIZZLE_W &&
232 (channelsWritten & (1 << swizzle))) {
  /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
st_glsl_to_tgsi_private.cpp 41 int swizzle = swizzle_for_size(num_elements); local
44 swizzle += component * MAKE_SWIZZLE4(1, 1, 1, 1);
45 return swizzle;
70 this->swizzle = swizzle_for_type(type, component);
90 this->swizzle = SWIZZLE_XYZW;
108 this->swizzle = SWIZZLE_XYZW;
125 this->swizzle = 0;
152 this->swizzle = reg.swizzle;
168 this->swizzle = SWIZZLE_XYZW
    [all...]

Completed in 64 milliseconds

1 2 3 4 5 6 7 8 91011>>