Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp269 void UnpackStencilState(const PackedStencilOpState &packedState, in UnpackStencilState() argument
273 stateOut->failOp = static_cast<VkStencilOp>(packedState.ops.fail); in UnpackStencilState()
274 stateOut->passOp = static_cast<VkStencilOp>(packedState.ops.pass); in UnpackStencilState()
275 stateOut->depthFailOp = static_cast<VkStencilOp>(packedState.ops.depthFail); in UnpackStencilState()
276 stateOut->compareOp = static_cast<VkCompareOp>(packedState.ops.compare); in UnpackStencilState()
277 stateOut->compareMask = packedState.compareMask; in UnpackStencilState()
278 stateOut->writeMask = packedState.writeMask; in UnpackStencilState()
282 void UnpackBlendAttachmentState(const PackedColorBlendAttachmentState &packedState, in UnpackBlendAttachmentState() argument
285 stateOut->srcColorBlendFactor = static_cast<VkBlendFactor>(packedState.srcColorBlendFactor); in UnpackBlendAttachmentState()
286 stateOut->dstColorBlendFactor = static_cast<VkBlendFactor>(packedState.dstColorBlendFactor); in UnpackBlendAttachmentState()
[all …]