Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp164 void UnpackStencilState(const vk::PackedStencilOpState &packedState, in UnpackStencilState() argument
168 stateOut->failOp = static_cast<VkStencilOp>(packedState.ops.fail); in UnpackStencilState()
169 stateOut->passOp = static_cast<VkStencilOp>(packedState.ops.pass); in UnpackStencilState()
170 stateOut->depthFailOp = static_cast<VkStencilOp>(packedState.ops.depthFail); in UnpackStencilState()
171 stateOut->compareOp = static_cast<VkCompareOp>(packedState.ops.compare); in UnpackStencilState()
172 stateOut->compareMask = packedState.compareMask; in UnpackStencilState()
173 stateOut->writeMask = packedState.writeMask; in UnpackStencilState()
177 void UnpackBlendAttachmentState(const vk::PackedColorBlendAttachmentState &packedState, in UnpackBlendAttachmentState() argument
180 stateOut->srcColorBlendFactor = static_cast<VkBlendFactor>(packedState.srcColorBlendFactor); in UnpackBlendAttachmentState()
181 stateOut->dstColorBlendFactor = static_cast<VkBlendFactor>(packedState.dstColorBlendFactor); in UnpackBlendAttachmentState()
[all …]