Device/Blitter: Initialize filter3D fields
Caught with clang -Wextra.
Bug: b/150155499
Change-Id: I80bdcaeb7f11954e57fd6e27d8747625eba66694
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/43990
Kokoro-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Tested-by: Ben Clayton <bclayton@google.com>
Presubmit-Ready: Ben Clayton <bclayton@google.com>
diff --git a/src/Device/Blitter.cpp b/src/Device/Blitter.cpp
index aea4e62..ccdfc91 100644
--- a/src/Device/Blitter.cpp
+++ b/src/Device/Blitter.cpp
@@ -126,6 +126,8 @@
0, 1, // z0d, z1d
0, 0, 0, // sWidth, sHeight, sDepth
+
+ false, // filter3D
};
if(renderArea && dest->is3DSlice())
@@ -1739,6 +1741,8 @@
static_cast<int>(extent.width), // sWidth
static_cast<int>(extent.height), // sHeight
static_cast<int>(extent.depth), // sDepth
+
+ false, // filter3D
};
VkImageSubresourceLayers srcSubresLayers = subresource;
@@ -1799,6 +1803,8 @@
static_cast<int>(extent.width), // sWidth
static_cast<int>(extent.height), // sHeight;
static_cast<int>(extent.depth), // sDepth;
+
+ false, // filter3D
};
VkImageSubresourceLayers dstSubresLayers = subresource;
@@ -1911,6 +1917,8 @@
static_cast<int>(srcExtent.width), // sWidth
static_cast<int>(srcExtent.height), // sHeight
static_cast<int>(srcExtent.depth), // sDepth
+
+ false, // filter3D
};
VkImageSubresourceLayers srcSubresLayers = {