From 647a60226d974288ca8ff106592f156dbd0b2645 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg=20Kristensen?= Date: Tue, 25 Aug 2015 15:58:21 -0700 Subject: [PATCH] vk: Use true/false for RenderCacheReadWriteMode MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This field in surface state is a bool, WriteOnlyCache is an enum from GEN8. Signed-off-by: Kristian Høgsberg Kristensen --- src/vulkan/gen7_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/gen7_state.c b/src/vulkan/gen7_state.c index 042c4224c5f..801716ea884 100644 --- a/src/vulkan/gen7_state.c +++ b/src/vulkan/gen7_state.c @@ -47,7 +47,7 @@ gen7_fill_buffer_surface_state(void *state, const struct anv_format *format, .SurfaceVerticalAlignment = VALIGN_4, .SurfaceHorizontalAlignment = HALIGN_4, .TiledSurface = false, - .RenderCacheReadWriteMode = WriteOnlyCache, + .RenderCacheReadWriteMode = false, .SurfaceObjectControlState = GEN7_MOCS, .Height = (num_elements >> 7) & 0x3fff, .Width = num_elements & 0x7f, -- 2.30.2