From: Kristian Høgsberg Kristensen Date: Mon, 11 Jan 2016 20:27:51 +0000 (-0800) Subject: vk: Use the correct stride for CC_VIEWPORT structs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b4bacb84bf18d52ef86b048ea90b93c506009a1;p=mesa.git vk: Use the correct stride for CC_VIEWPORT structs --- diff --git a/src/vulkan/gen8_cmd_buffer.c b/src/vulkan/gen8_cmd_buffer.c index 308b72b3d7b..b12f6635afd 100644 --- a/src/vulkan/gen8_cmd_buffer.c +++ b/src/vulkan/gen8_cmd_buffer.c @@ -109,7 +109,7 @@ emit_viewport_state(struct anv_cmd_buffer *cmd_buffer, GENX(SF_CLIP_VIEWPORT_pack)(NULL, sf_clip_state.map + i * 64, &sf_clip_viewport); - GENX(CC_VIEWPORT_pack)(NULL, cc_state.map + i * 32, &cc_viewport); + GENX(CC_VIEWPORT_pack)(NULL, cc_state.map + i * 8, &cc_viewport); } if (!cmd_buffer->device->info.has_llc) {