Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/vulkan/
Dvk_format_utils.cpp478 gl::SwizzleState internalSwizzle; in GetFormatSwizzle() local
493 internalSwizzle.swizzleRed = swizzleRGB; in GetFormatSwizzle()
494 internalSwizzle.swizzleGreen = swizzleRGB; in GetFormatSwizzle()
495 internalSwizzle.swizzleBlue = swizzleRGB; in GetFormatSwizzle()
496 internalSwizzle.swizzleAlpha = swizzleA; in GetFormatSwizzle()
507 internalSwizzle.swizzleRed = GL_RED; in GetFormatSwizzle()
508 internalSwizzle.swizzleGreen = hasGB ? GL_RED : GL_ZERO; in GetFormatSwizzle()
509 internalSwizzle.swizzleBlue = hasGB ? GL_RED : GL_ZERO; in GetFormatSwizzle()
510 internalSwizzle.swizzleAlpha = GL_ONE; in GetFormatSwizzle()
518 internalSwizzle.swizzleRed = angleFormat.redBits > 0 ? GL_RED : GL_ZERO; in GetFormatSwizzle()
[all …]