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.cpp401 gl::SwizzleState internalSwizzle; in GetFormatSwizzle() local
416 internalSwizzle.swizzleRed = swizzleRGB; in GetFormatSwizzle()
417 internalSwizzle.swizzleGreen = swizzleRGB; in GetFormatSwizzle()
418 internalSwizzle.swizzleBlue = swizzleRGB; in GetFormatSwizzle()
419 internalSwizzle.swizzleAlpha = swizzleA; in GetFormatSwizzle()
430 internalSwizzle.swizzleRed = GL_RED; in GetFormatSwizzle()
431 internalSwizzle.swizzleGreen = hasGB ? GL_RED : GL_ZERO; in GetFormatSwizzle()
432 internalSwizzle.swizzleBlue = hasGB ? GL_RED : GL_ZERO; in GetFormatSwizzle()
433 internalSwizzle.swizzleAlpha = GL_ONE; in GetFormatSwizzle()
441 internalSwizzle.swizzleRed = angleFormat.redBits > 0 ? GL_RED : GL_ZERO; in GetFormatSwizzle()
[all …]