summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_meta_clear.c
diff options
context:
space:
mode:
authorBogDan Vatra <[email protected]>2016-01-05 21:44:16 +0200
committerJason Ekstrand <[email protected]>2016-01-14 07:30:46 -0800
commit102c74277f989703dfb3783c5c0b93e3731012bf (patch)
treec6ae01ac9788a4af5d2112e8e85e7e0e3815e135 /src/vulkan/anv_meta_clear.c
parent8ce2b0e1405b3d6d3590dcd3ce1ac2d04d228ad4 (diff)
WIP: Partially upgrade to vulkan v0.221.0
TODO, make use of: - VkPhysicalDeviceFeatures.drawIndirectFirstInstance, - VkPhysicalDeviceFeatures.inheritedQueries - VkPhysicalDeviceLimits.timestampComputeAndGraphics - VkSubmitInfo.pWaitDstStageMask - VkSubresourceLayout.arrayPitch - VkSamplerCreateInfo.anisotropyEnable
Diffstat (limited to 'src/vulkan/anv_meta_clear.c')
-rw-r--r--src/vulkan/anv_meta_clear.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vulkan/anv_meta_clear.c b/src/vulkan/anv_meta_clear.c
index 1a4300c07e3..003e0e023ca 100644
--- a/src/vulkan/anv_meta_clear.c
+++ b/src/vulkan/anv_meta_clear.c
@@ -338,7 +338,7 @@ emit_load_color_clear(struct anv_cmd_buffer *cmd_buffer,
.depth_stencil_attachment = VK_ATTACHMENT_UNUSED,
});
- ANV_CALL(CmdSetViewport)(cmd_buffer_h, 1,
+ ANV_CALL(CmdSetViewport)(cmd_buffer_h, 0, 1,
(VkViewport[]) {
{
.x = 0,
@@ -350,7 +350,7 @@ emit_load_color_clear(struct anv_cmd_buffer *cmd_buffer,
},
});
- ANV_CALL(CmdSetScissor)(cmd_buffer_h, 1,
+ ANV_CALL(CmdSetScissor)(cmd_buffer_h, 0, 1,
(VkRect2D[]) {
{
.offset = { 0, 0 },
@@ -506,7 +506,7 @@ emit_load_depthstencil_clear(struct anv_cmd_buffer *cmd_buffer,
.depth_stencil_attachment = attachment,
});
- ANV_CALL(CmdSetViewport)(cmd_buffer_h, 1,
+ ANV_CALL(CmdSetViewport)(cmd_buffer_h, 0, 1,
(VkViewport[]) {
{
.x = 0,
@@ -520,7 +520,7 @@ emit_load_depthstencil_clear(struct anv_cmd_buffer *cmd_buffer,
},
});
- ANV_CALL(CmdSetScissor)(cmd_buffer_h, 1,
+ ANV_CALL(CmdSetScissor)(cmd_buffer_h, 0, 1,
(VkRect2D[]) {
{
.offset = { 0, 0 },