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-Tag: upstream/17.1.0~11012^2~717 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2b4bacb84bf18d52ef86b048ea90b93c506009a1;p=platform%2Fupstream%2Fmesa.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 308b72b..b12f663 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) {