[gtk+] gsk: vulkan: silence anisotropy validation warning
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gsk: vulkan: silence anisotropy validation warning
- Date: Thu, 21 Sep 2017 03:27:09 +0000 (UTC)
commit 28bd26ca062de7642bac4e5247933aaf3073bf41
Author: Lionel Landwerlin <lionel g landwerlin intel com>
Date: Wed Sep 20 18:41:09 2017 +0100
gsk: vulkan: silence anisotropy validation warning
gsk/gskvulkanrenderer.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gsk/gskvulkanrenderer.c b/gsk/gskvulkanrenderer.c
index 2325887..055b6b9 100644
--- a/gsk/gskvulkanrenderer.c
+++ b/gsk/gskvulkanrenderer.c
@@ -124,7 +124,8 @@ gsk_vulkan_renderer_realize (GskRenderer *renderer,
.addressModeV = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER,
.addressModeW = VK_SAMPLER_ADDRESS_MODE_REPEAT,
.borderColor = VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK,
- .unnormalizedCoordinates = VK_FALSE
+ .unnormalizedCoordinates = VK_FALSE,
+ .maxAnisotropy = 1.0,
},
NULL,
&self->sampler);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]