From: Kristian Høgsberg Kristensen Date: Tue, 25 Aug 2015 22:58:21 +0000 (-0700) Subject: vk: Use true/false for RenderCacheReadWriteMode X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=647a60226d974288ca8ff106592f156dbd0b2645;p=mesa.git vk: Use true/false for RenderCacheReadWriteMode This field in surface state is a bool, WriteOnlyCache is an enum from GEN8. Signed-off-by: Kristian Høgsberg Kristensen --- 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,