<div dir="ltr"><div>Fine with me<br><br></div>Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 14, 2017 at 4:56 PM, Kenneth Graunke <span dir="ltr"><<a href="mailto:kenneth@whitecape.org" target="_blank">kenneth@whitecape.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">According to the RENDER_SURFACE_STATE internal documentation, the<br>
R32G32B32_FLOAT restriction is marked "IVB" only. We choose to apply<br>
it to Ivybridge and Baytrail, but not Haswell.<br>
<br>
Fixes KHR-GL46.texture_size_<wbr>promotion.functional on Haswell.<br>
<br>
Changes these tests from crashing to skipping on Haswell:<br>
- KHR-GL46.direct_state_access.<wbr>textures_storage_multisample_<wbr>2d_rgb32f<br>
- KHR-GL46.direct_state_access.<wbr>textures_storage_multisample_<wbr>3d_rgb32f<br>
---<br>
src/intel/isl/isl_gen7.c | 4 +++-<br>
1 file changed, 3 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/src/intel/isl/isl_gen7.c b/src/intel/isl/isl_gen7.c<br>
index c42428cba7a..4fa9851233f 100644<br>
--- a/src/intel/isl/isl_gen7.c<br>
+++ b/src/intel/isl/isl_gen7.c<br>
@@ -38,9 +38,11 @@ gen7_format_needs_valign2(<wbr>const struct isl_device *dev,<br>
* (0x190)<br>
*<br>
* - VALIGN_4 is not supported for surface format R32G32B32_FLOAT.<br>
+ *<br>
+ * The R32G32B32_FLOAT restriction is dropped on Haswell.<br>
*/<br>
return isl_format_is_yuv(format) ||<br>
- format == ISL_FORMAT_R32G32B32_FLOAT;<br>
+ (format == ISL_FORMAT_R32G32B32_FLOAT && !ISL_DEV_IS_HASWELL(dev));<br>
}<br>
<br>
bool<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.15.1<br>
<br>
______________________________<wbr>_________________<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/<wbr>mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>