Lines Matching refs:in_zsa
1218 const VkPipelineDepthStencilStateCreateInfo *in_zsa =
1223 in_zsa->front.compareOp != VK_COMPARE_OP_NEVER &&
1224 in_zsa->front.compareOp != VK_COMPARE_OP_ALWAYS &&
1226 in_zsa->front.compareMask != 0);
1229 in_zsa->back.compareOp != VK_COMPARE_OP_NEVER &&
1230 in_zsa->back.compareOp != VK_COMPARE_OP_ALWAYS &&
1232 in_zsa->back.compareMask != 0);
1237 pipeline->zsa.stencil_test.front.compare_mask = in_zsa->front.compareMask;
1244 pipeline->zsa.stencil_test.back.compare_mask = in_zsa->back.compareMask;
1251 in_zsa->back.writeMask != in_zsa->front.writeMask);
1255 in_zsa->back.reference != in_zsa->front.reference);
1266 ((in_zsa->back.compareOp != VK_COMPARE_OP_ALWAYS &&
1267 in_zsa->back.failOp == VK_STENCIL_OP_REPLACE) ||
1268 (in_zsa->back.compareOp != VK_COMPARE_OP_NEVER &&
1269 (!in_zsa->depthTestEnable || in_zsa->depthCompareOp != VK_COMPARE_OP_NEVER) &&
1270 in_zsa->back.passOp == VK_STENCIL_OP_REPLACE) ||
1271 (in_zsa->depthTestEnable &&
1272 in_zsa->depthCompareOp != VK_COMPARE_OP_ALWAYS &&
1273 in_zsa->back.depthFailOp == VK_STENCIL_OP_REPLACE));
1276 ((in_zsa->front.compareOp != VK_COMPARE_OP_ALWAYS &&
1277 in_zsa->front.failOp == VK_STENCIL_OP_REPLACE) ||
1278 (in_zsa->front.compareOp != VK_COMPARE_OP_NEVER &&
1279 (!in_zsa->depthTestEnable || in_zsa->depthCompareOp != VK_COMPARE_OP_NEVER) &&
1280 in_zsa->front.passOp == VK_STENCIL_OP_REPLACE) ||
1281 (in_zsa->depthTestEnable &&
1282 in_zsa->depthCompareOp != VK_COMPARE_OP_ALWAYS &&
1283 in_zsa->front.depthFailOp == VK_STENCIL_OP_REPLACE));
1288 0 : in_zsa->front.writeMask;
1292 0 : in_zsa->back.writeMask;
1303 pipeline->zsa.stencil_test.dynamic_ref ? 0 : in_zsa->front.reference;
1305 pipeline->zsa.stencil_test.dynamic_ref ? 0 : in_zsa->back.reference;
1331 const VkPipelineDepthStencilStateCreateInfo *in_zsa =
1334 if (!in_zsa)
1342 in_zsa->depthTestEnable || in_zsa->depthBoundsTestEnable;
1344 in_zsa->depthWriteEnable ?
1347 in_zsa->depthTestEnable ?
1348 dzn_translate_compare_op(in_zsa->depthCompareOp) :
1350 pipeline->zsa.depth_bounds.enable = in_zsa->depthBoundsTestEnable;
1351 pipeline->zsa.depth_bounds.min = in_zsa->minDepthBounds;
1352 pipeline->zsa.depth_bounds.max = in_zsa->maxDepthBounds;
1353 desc->DepthBoundsTestEnable = in_zsa->depthBoundsTestEnable;
1354 desc->StencilEnable = in_zsa->stencilTestEnable;
1355 if (in_zsa->stencilTestEnable) {
1357 translate_stencil_op(in_zsa->front.failOp);
1359 translate_stencil_op(in_zsa->front.depthFailOp);
1361 translate_stencil_op(in_zsa->front.passOp);
1363 dzn_translate_compare_op(in_zsa->front.compareOp);
1365 translate_stencil_op(in_zsa->back.failOp);
1367 translate_stencil_op(in_zsa->back.depthFailOp);
1369 translate_stencil_op(in_zsa->back.passOp);
1371 dzn_translate_compare_op(in_zsa->back.compareOp);