<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 22, 2016 at 4:38 PM, Nanley Chery <span dir="ltr"><<a href="mailto:nanleychery@gmail.com" target="_blank">nanleychery@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Nanley Chery <<a href="mailto:nanley.g.chery@intel.com">nanley.g.chery@intel.com</a>><br>
<br>
Sampling from an ETC2 texture is supported on Bay Trail and<br>
<span class="">from Gen8 onwards. While ASTC_LDR is supported on Gen9, the<br>
logic to handle such formats has not yet been implemented in<br>
the driver.<br>
<br>
Fixes dEQP-VK.api.info.format_properties.compressed_formats.<br>
<br>
</span>v2: Enable ETC2 for Bay Trail (Kenneth Graunke)<br>
<span class=""><br>
Bugzilla: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=94896" rel="noreferrer" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=94896</a><br>
Signed-off-by: Nanley Chery <<a href="mailto:nanley.g.chery@intel.com">nanley.g.chery@intel.com</a>><br>
---<br>
</span> src/intel/vulkan/anv_device.c | 5 +++--<br>
 1 file changed, 3 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c<br>
index 00edd95..4abcdf9 100644<br>
--- a/src/intel/vulkan/anv_device.c<br>
+++ b/src/intel/vulkan/anv_device.c<br>
@@ -380,8 +380,9 @@ void anv_GetPhysicalDeviceFeatures(<br>
<span class="">       .alphaToOne                               = true,<br>
       .multiViewport                            = true,<br>
       .samplerAnisotropy                        = false, /* FINISHME */<br>
-      .textureCompressionETC2                   = true,<br>
-      .textureCompressionASTC_LDR               = true,<br>
+      .textureCompressionETC2                   = pdevice->info->gen >= 8 ||<br>
</span>+                                                  pdevice->info->is_baytrail,<br>
<span class="im HOEnZb">+      .textureCompressionASTC_LDR               = false, /* FINISHME */<br></span></blockquote><div><br></div><div>So... I thought that when I turned this on it passed all the ASTC CTS tests.  We should double-check that before turning it off.<br></div><div>--Jason<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="im HOEnZb">
       .textureCompressionBC                     = true,<br>
       .occlusionQueryPrecise                    = true,<br>
       .pipelineStatisticsQuery                  = false,<br>
</span><div class="HOEnZb"><div class="h5">--<br>
2.8.0<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</div></div></blockquote></div><br></div></div>