Vulkan: Add StoreOp to the computation of the key of RenderPassCache
This patch adds StoreOp to the computation of key of RenderPassCache, which was missed in the last CL that fixes a failure of end2end test on Windows Intel Vulkan drivers. BUG=dawn:1151 Change-Id: Iec03d70303c89906154db5256fd8691cc018a91a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/75860 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
This commit is contained in:
parent
5f7f1b75df
commit
9acdbcba85
|
@ -240,13 +240,13 @@ namespace dawn_native::vulkan {
|
|||
HashCombine(&hash, Hash(query.resolveTargetMask));
|
||||
|
||||
for (ColorAttachmentIndex i : IterateBitSet(query.colorMask)) {
|
||||
HashCombine(&hash, query.colorFormats[i], query.colorLoadOp[i]);
|
||||
HashCombine(&hash, query.colorFormats[i], query.colorLoadOp[i], query.colorStoreOp[i]);
|
||||
}
|
||||
|
||||
HashCombine(&hash, query.hasDepthStencil);
|
||||
if (query.hasDepthStencil) {
|
||||
HashCombine(&hash, query.depthStencilFormat, query.depthLoadOp, query.stencilLoadOp,
|
||||
query.readOnlyDepthStencil);
|
||||
HashCombine(&hash, query.depthStencilFormat, query.depthLoadOp, query.depthStoreOp,
|
||||
query.stencilLoadOp, query.stencilStoreOp, query.readOnlyDepthStencil);
|
||||
}
|
||||
|
||||
HashCombine(&hash, query.sampleCount);
|
||||
|
|
Loading…
Reference in New Issue