/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_vec4_gs_nir.cpp | 78 src.swizzle = BRW_SWZ_COMP_INPUT(nir_intrinsic_component(instr) / 2); 91 src.swizzle = BRW_SWZ_COMP_INPUT(nir_intrinsic_component(instr)); 95 src.swizzle = BRW_SWIZZLE_WWWW;
|
brw_ir_vec4.h | 125 swizzle(src_reg reg, unsigned swizzle) function in namespace:brw 128 reg.ud = brw_swizzle_immediate(reg.type, reg.ud, swizzle); 130 reg.swizzle = brw_compose_swizzle(swizzle, reg.swizzle); 288 int swizzle, int swizzle_mask); 289 void reswizzle(int dst_writemask, int swizzle);
|
/external/mesa3d/src/mesa/main/ |
atifragshader.h | 61 GLenum swizzle; member in struct:atifs_setupinst 84 _mesa_PassTexCoordATI(GLuint dst, GLuint coord, GLenum swizzle); 87 _mesa_SampleMapATI(GLuint dst, GLuint interp, GLenum swizzle);
|
formats.c | 76 uint8_t Swizzle[4]; 226 uint8_t swizzle[4]; local 229 _mesa_array_format_get_swizzle(format, swizzle); 243 if (swizzle[0] == 0 && 244 swizzle[1] == 0 && 245 swizzle[2] == 0 && 246 swizzle[3] == 1) 248 if (swizzle[0] == 1 && 249 swizzle[1] == 1 && 250 swizzle[2] == 1 & 377 uint8_t swizzle[4]; local [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format.c | 73 desc->swizzle[3] != PIPE_SWIZZLE_1; 85 desc->swizzle[0] == PIPE_SWIZZLE_X && 86 desc->swizzle[1] == PIPE_SWIZZLE_X && 87 desc->swizzle[2] == PIPE_SWIZZLE_X && 88 desc->swizzle[3] == PIPE_SWIZZLE_1) { 102 desc->swizzle[0] == PIPE_SWIZZLE_0 && 103 desc->swizzle[1] == PIPE_SWIZZLE_0 && 104 desc->swizzle[2] == PIPE_SWIZZLE_0 && 105 desc->swizzle[3] == PIPE_SWIZZLE_X) { 199 desc->swizzle[0] == PIPE_SWIZZLE_X & 513 enum pipe_swizzle swizzle = dst_desc->swizzle[chan]; local [all...] |
u_format_pack.py | 44 '''Return an array[4] of inverse swizzle terms''' 48 swizzle = swizzles[i] 49 if swizzle < 4 and inv_swizzle[swizzle] == None: 50 inv_swizzle[swizzle] = i 485 # Convert, swizzle, and store final values 487 swizzle = swizzles[i] 488 if swizzle < 4: 489 src_channel = channels[swizzle] 499 elif swizzle == SWIZZLE_0 [all...] |
/external/mesa3d/src/compiler/glsl/ |
ir_builder.cpp | 87 swizzle(operand a, int swizzle, int components) function in namespace:ir_builder 92 GET_SWZ(swizzle, 0), 93 GET_SWZ(swizzle, 1), 94 GET_SWZ(swizzle, 2), 95 GET_SWZ(swizzle, 3), 117 return swizzle(a, SWIZZLE_XXXX, 4); 123 return swizzle(a, SWIZZLE_YYYY, 4); 129 return swizzle(a, SWIZZLE_ZZZZ, 4); 135 return swizzle(a, SWIZZLE_WWWW, 4) [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_texture.c | 909 desc->swizzle[0] == PIPE_SWIZZLE_0 && 910 desc->swizzle[1] == PIPE_SWIZZLE_0 && 911 desc->swizzle[2] == PIPE_SWIZZLE_0 && 912 desc->swizzle[3] == PIPE_SWIZZLE_X) 927 desc->swizzle[0] == PIPE_SWIZZLE_X && 928 desc->swizzle[1] == PIPE_SWIZZLE_0 && 929 desc->swizzle[2] == PIPE_SWIZZLE_0 && 930 desc->swizzle[3] == PIPE_SWIZZLE_1) 946 desc->swizzle[0] == PIPE_SWIZZLE_X && 947 desc->swizzle[1] == PIPE_SWIZZLE_X & 989 unsigned char swizzle[4]; member in struct:format_table 1106 int swizzle[4]; local [all...] |
/external/mesa3d/src/compiler/nir/ |
nir_search.h | 80 unsigned num_components, const uint8_t *swizzle);
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
fd2_util.c | 318 return A2XX_SQ_TEX_3_SWIZ_X(tex_swiz(swiz[desc->swizzle[0]])) | 319 A2XX_SQ_TEX_3_SWIZ_Y(tex_swiz(swiz[desc->swizzle[1]])) | 320 A2XX_SQ_TEX_3_SWIZ_Z(tex_swiz(swiz[desc->swizzle[2]])) | 321 A2XX_SQ_TEX_3_SWIZ_W(tex_swiz(swiz[desc->swizzle[3]]));
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
nv30_format.h | 24 unsigned swizzle; member in struct:nv30_texfmt
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_code.c | 139 unsigned rc_constants_add_immediate_scalar(struct rc_constant_list * c, float data, unsigned * swizzle) 150 *swizzle = RC_MAKE_SWIZZLE_SMEAR(comp); 163 *swizzle = RC_MAKE_SWIZZLE_SMEAR(comp); 171 *swizzle = RC_SWIZZLE_XXXX;
|
/external/skia/src/codec/ |
SkMaskSwizzler.h | 17 * Used to swizzle images whose pixel components are extracted by bit masks 35 * Swizzle a row 37 void swizzle(void* dst, const uint8_t* SK_RESTRICT src); 58 * Row procedure used for swizzle
|
SkBmpMaskCodec.cpp | 96 fMaskSwizzler->swizzle(this->xformBuffer(), srcRow); 99 fMaskSwizzler->swizzle(dstRow, srcRow);
|
/external/skqp/src/codec/ |
SkMaskSwizzler.h | 17 * Used to swizzle images whose pixel components are extracted by bit masks 35 * Swizzle a row 37 void swizzle(void* dst, const uint8_t* SK_RESTRICT src); 58 * Row procedure used for swizzle
|
SkBmpMaskCodec.cpp | 96 fMaskSwizzler->swizzle(this->xformBuffer(), srcRow); 99 fMaskSwizzler->swizzle(dstRow, srcRow);
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_tgsi.c | 333 unsigned swizzle; local 338 swizzle = ~0u; 340 swizzle = tgsi_util_get_full_src_register_swizzle(reg, chan_index); 341 if (swizzle > 3) { 342 assert(0 && "invalid swizzle in emit_fetch()"); 351 swizzle); 404 * Swizzle the argument 407 if (swizzle == ~0u) { 429 unsigned swizzle; local 442 swizzle = ~0 [all...] |
lp_bld_const.h | 105 const unsigned char *swizzle); 120 const unsigned char *swizzle);
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_fpc_emit.c | 200 * a swizzle for no reason below. */ 289 return swizzle(UREG(REG_TYPE_R, 0), ZERO, ZERO, ZERO, ZERO); 291 return swizzle(UREG(REG_TYPE_R, 0), ONE, ONE, ONE, ONE); 303 return swizzle(UREG(REG_TYPE_CONST, reg), idx, ZERO, ZERO, ONE); 319 return swizzle(i915_emit_const1f(p, c1), ZERO, X, Z, W); 321 return swizzle(i915_emit_const1f(p, c1), ONE, X, Z, W); 324 return swizzle(i915_emit_const1f(p, c0), X, ZERO, Z, W); 326 return swizzle(i915_emit_const1f(p, c0), X, ONE, Z, W); 328 // XXX emit swizzle here for 0, 1, -1 and any combination thereof 329 // we can use swizzle + neg for tha [all...] |
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
format_conversion.h | 46 dst.v[FormatTraits<SrcFormat>::swizzle(comp)] = vComp; 68 dst.v[FormatTraits<SrcFormat>::swizzle(comp)] = vComp; 151 simdscalar vComp = src.v[FormatTraits<DstFormat>::swizzle(comp)]; 169 simdscalar vComp = src.v[FormatTraits<DstFormat>::swizzle(comp)]; 214 dst.v[FormatTraits<SrcFormat>::swizzle(comp)] = vComp; 236 dst.v[FormatTraits<SrcFormat>::swizzle(comp)] = vComp; 319 simd16scalar vComp = src.v[FormatTraits<DstFormat>::swizzle(comp)]; 337 simd16scalar vComp = src.v[FormatTraits<DstFormat>::swizzle(comp)];
|
/external/deqp/modules/gles2/functional/ |
es2fShaderIndexingTests.cpp | 109 void evalArrayCoordsVec2 (ShaderEvalContext& c) { c.color.xy() = 1.875f * c.coords.swizzle(0,1); } 110 void evalArrayCoordsVec3 (ShaderEvalContext& c) { c.color.xyz() = 1.875f * c.coords.swizzle(0,1,2); } 125 void evalArrayUniformVec2 (ShaderEvalContext& c) { c.color.xy() = 1.875f * c.constCoords.swizzle(0,1); } 126 void evalArrayUniformVec3 (ShaderEvalContext& c) { c.color.xyz() = 1.875f * c.constCoords.swizzle(0,1,2); } 220 arr[0] = constCoords.swizzle(0,1); 221 arr[1] = constCoords.swizzle(0,1) * 0.5f; 222 arr[2] = constCoords.swizzle(0,1) * 0.25f; 223 arr[3] = constCoords.swizzle(0,1) * 0.125f; 229 arr[0] = constCoords.swizzle(0,1,2); 230 arr[1] = constCoords.swizzle(0,1,2) * 0.5f [all...] |
/external/deqp/modules/gles2/performance/ |
es2pTextureCases.cpp | 112 Vec2 p00 = (m_coordTransform * Vec3(0.0f, 0.0f, 1.0f)).swizzle(0,1); 113 Vec2 p10 = (m_coordTransform * Vec3(1.0f, 0.0f, 1.0f)).swizzle(0,1); 114 Vec2 p01 = (m_coordTransform * Vec3(0.0f, 1.0f, 1.0f)).swizzle(0,1); 115 Vec2 p11 = (m_coordTransform * Vec3(1.0f, 1.0f, 1.0f)).swizzle(0,1); 176 Vec4(0.0f, 0.0f, 0.0f, 0.0f).swizzle(sw[0], sw[1], sw[2], sw[3]), 177 Vec4(1.0f, 1.0f, 1.0f, 1.0f).swizzle(sw[0], sw[1], sw[2], sw[3]));
|
/external/deqp/modules/gles3/performance/ |
es3pTextureCases.cpp | 120 Vec2 p00 = (m_coordTransform * Vec3(0.0f, 0.0f, 1.0f)).swizzle(0,1); 121 Vec2 p10 = (m_coordTransform * Vec3(1.0f, 0.0f, 1.0f)).swizzle(0,1); 122 Vec2 p01 = (m_coordTransform * Vec3(0.0f, 1.0f, 1.0f)).swizzle(0,1); 123 Vec2 p11 = (m_coordTransform * Vec3(1.0f, 1.0f, 1.0f)).swizzle(0,1); 203 fmtInfo.valueMin.swizzle(sw[0], sw[1], sw[2], sw[3]), 204 fmtInfo.valueMax.swizzle(sw[0], sw[1], sw[2], sw[3]));
|
/external/mesa3d/src/gallium/drivers/r300/ |
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);
|
/external/mesa3d/src/mesa/swrast/ |
s_fragprog.c | 50 * Apply texture object's swizzle (X/Y/Z/W/0/1) to incoming 'texel' 54 swizzle_texel(const GLfloat texel[4], GLfloat colorOut[4], GLuint swizzle) 56 if (swizzle == SWIZZLE_NOOP) { 67 colorOut[0] = vector[GET_SWZ(swizzle, 0)]; 68 colorOut[1] = vector[GET_SWZ(swizzle, 1)]; 69 colorOut[2] = vector[GET_SWZ(swizzle, 2)]; 70 colorOut[3] = vector[GET_SWZ(swizzle, 3)];
|