Searched refs:swizzleMask (Results 1 – 5 of 5) sorted by relevance
1567 skstd::string_view swizzleMask) { in swizzle() argument1568 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()
249 dsl::DSLExpression swizzle(int line, dsl::DSLExpression base, skstd::string_view swizzleMask);
2248 const UINT_32 swizzleMask = 1 << swizzle; in ValidateSwModeParams() local2253 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() local3589 if ((swizzleMask & Gfx11Rsrc3dSwModeMask) != 0) in GetSwizzlePatternInfo()3677 if ((swizzleMask & Gfx11Rsrc2dSwModeMask) != 0) in GetSwizzlePatternInfo()
2635 const UINT_32 swizzleMask = 1 << swizzle; in ValidateSwModeParams() local2640 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() local4152 if ((swizzleMask & Gfx10Rsrc3dSwModeMask) != 0) in GetSwizzlePatternInfo()[all …]
3039 const UINT_32 swizzleMask = 1 << pIn->swizzleMode; in IsValidDisplaySwizzleMode() local3045 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()