Home
last modified time | relevance | path

Searched refs:swizzleMask (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/src/sksl/
DSkSLDSLParser.cpp1567 skstd::string_view swizzleMask) { in swizzle() argument
1568 SkASSERT(swizzleMask.length() > 0); in swizzle()
1570 return base.field(swizzleMask, this->position(line)); in swizzle()
1572 int length = swizzleMask.length(); in swizzle()
1579 switch (swizzleMask[i]) { in swizzle()
1600 String::printf("invalid swizzle component '%c'", swizzleMask[i]).c_str()); in swizzle()
DSkSLDSLParser.h249 dsl::DSLExpression swizzle(int line, dsl::DSLExpression base, skstd::string_view swizzleMask);
/third_party/mesa3d/src/amd/addrlib/src/gfx11/
Dgfx11addrlib.cpp2248 const UINT_32 swizzleMask = 1 << swizzle; in ValidateSwModeParams() local
2253 if ((swizzleMask & Gfx11Rsrc1dSwModeMask) == 0) in ValidateSwModeParams()
2261 if ((swizzleMask & Gfx11Rsrc2dSwModeMask) == 0) in ValidateSwModeParams()
2266 else if (prt && ((swizzleMask & Gfx11Rsrc2dPrtSwModeMask) == 0)) in ValidateSwModeParams()
2274 if (((swizzleMask & Gfx11Rsrc3dSwModeMask) == 0) || in ValidateSwModeParams()
2275 (prt && ((swizzleMask & Gfx11Rsrc3dPrtSwModeMask) == 0)) || in ValidateSwModeParams()
2276 (thin3d && ((swizzleMask & Gfx11Rsrc3dThinSwModeMask) == 0))) in ValidateSwModeParams()
3579 const UINT_32 swizzleMask = 1 << swizzleMode; in GetSwizzlePatternInfo() local
3589 if ((swizzleMask & Gfx11Rsrc3dSwModeMask) != 0) in GetSwizzlePatternInfo()
3677 if ((swizzleMask & Gfx11Rsrc2dSwModeMask) != 0) in GetSwizzlePatternInfo()
/third_party/mesa3d/src/amd/addrlib/src/gfx10/
Dgfx10addrlib.cpp2635 const UINT_32 swizzleMask = 1 << swizzle; in ValidateSwModeParams() local
2640 if ((swizzleMask & Gfx10Rsrc1dSwModeMask) == 0) in ValidateSwModeParams()
2648 if ((swizzleMask & Gfx10Rsrc2dSwModeMask) == 0) in ValidateSwModeParams()
2655 else if ((prt && ((swizzleMask & Gfx10Rsrc2dPrtSwModeMask) == 0)) || in ValidateSwModeParams()
2656 (fmask && ((swizzleMask & Gfx10ZSwModeMask) == 0))) in ValidateSwModeParams()
2664 if (((swizzleMask & Gfx10Rsrc3dSwModeMask) == 0) || in ValidateSwModeParams()
2665 (prt && ((swizzleMask & Gfx10Rsrc3dPrtSwModeMask) == 0)) || in ValidateSwModeParams()
2666 (thin3d && ((swizzleMask & Gfx10Rsrc3dThinSwModeMask) == 0))) in ValidateSwModeParams()
4096 const UINT_32 swizzleMask = 1 << swizzleMode; in GetSwizzlePatternInfo() local
4152 if ((swizzleMask & Gfx10Rsrc3dSwModeMask) != 0) in GetSwizzlePatternInfo()
[all …]
/third_party/mesa3d/src/amd/addrlib/src/gfx9/
Dgfx9addrlib.cpp3039 const UINT_32 swizzleMask = 1 << pIn->swizzleMode; in IsValidDisplaySwizzleMode() local
3045 support = (Dce12Bpp32SwModeMask & swizzleMask) ? TRUE : FALSE; in IsValidDisplaySwizzleMode()
3049 support = (Dce12NonBpp32SwModeMask & swizzleMask) ? TRUE : FALSE; in IsValidDisplaySwizzleMode()
3056 support = (Dcn1NonBpp64SwModeMask & swizzleMask) ? TRUE : FALSE; in IsValidDisplaySwizzleMode()
3060 support = (Dcn1Bpp64SwModeMask & swizzleMask) ? TRUE : FALSE; in IsValidDisplaySwizzleMode()
3067 support = (Dcn2NonBpp64SwModeMask & swizzleMask) ? TRUE : FALSE; in IsValidDisplaySwizzleMode()
3071 support = (Dcn2Bpp64SwModeMask & swizzleMask) ? TRUE : FALSE; in IsValidDisplaySwizzleMode()