<div dir="ltr"><div>Assuming that I know how to read the docs (which may be a very bad assumption), this looks correct to me.<br><br></div>Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 12, 2017 at 4:38 PM, Anuj Phogat <span dir="ltr"><<a href="mailto:anuj.phogat@gmail.com" target="_blank">anuj.phogat@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Suggested-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br>
Signed-off-by: Anuj Phogat <<a href="mailto:anuj.phogat@gmail.com">anuj.phogat@gmail.com</a>><br>
---<br>
src/intel/isl/isl_format.c | 18 +++++++++---------<br>
1 file changed, 9 insertions(+), 9 deletions(-)<br>
<br>
diff --git a/src/intel/isl/isl_format.c b/src/intel/isl/isl_format.c<br>
index a26873b..e9ca7f1 100644<br>
--- a/src/intel/isl/isl_format.c<br>
+++ b/src/intel/isl/isl_format.c<br>
@@ -95,7 +95,7 @@ static const struct surface_format_info format_info[] = {<br>
SF( x, x, x, x, x, x, Y, x, x, x, x, x, R32G32B32A32_UNORM)<br>
SF( x, x, x, x, x, x, Y, x, x, x, x, x, R32G32B32A32_SNORM)<br>
SF( x, x, x, x, x, x, Y, x, x, x, x, x, R64G64_FLOAT)<br>
- SF( Y, 50, x, x, x, x, x, x, x, x, x, x, R32G32B32X32_FLOAT)<br>
+ SF( Y, 50, x, x, 100, 100, x, x, x, x, x, 100, R32G32B32X32_FLOAT)<br>
SF( x, x, x, x, x, x, Y, x, x, x, x, x, R32G32B32A32_SSCALED)<br>
SF( x, x, x, x, x, x, Y, x, x, x, x, x, R32G32B32A32_USCALED)<br>
SF( x, x, x, x, x, x, 75, x, x, x, x, x, R32G32B32A32_SFIXED)<br>
@@ -135,14 +135,14 @@ static const struct surface_format_info format_info[] = {<br>
SF( x, x, x, x, x, x, 75, x, x, x, x, x, R32G32_SFIXED)<br>
SF( x, x, x, x, x, x, 80, x, x, x, x, x, R64_PASSTHRU)<br>
SF( Y, Y, x, Y, Y, Y, Y, x, 60, 70, x, 90, B8G8R8A8_UNORM)<br>
- SF( Y, Y, x, x, Y, Y, x, x, x, x, x, x, B8G8R8A8_UNORM_SRGB)<br>
+ SF( Y, Y, x, x, Y, Y, x, x, x, x, x, 100, B8G8R8A8_UNORM_SRGB)<br>
/* smpl filt shad CK RT AB VB SO color TW TR ccs_e */<br>
- SF( Y, Y, x, x, Y, Y, Y, x, 60, 70, x, x, R10G10B10A2_UNORM)<br>
+ SF( Y, Y, x, x, Y, Y, Y, x, 60, 70, x, 100, R10G10B10A2_UNORM)<br>
SF( Y, Y, x, x, x, x, x, x, 60, x, x, x, R10G10B10A2_UNORM_SRGB)<br>
- SF( Y, x, x, x, Y, x, Y, x, x, 70, x, x, R10G10B10A2_UINT)<br>
+ SF( Y, x, x, x, Y, x, Y, x, x, 70, x, 100, R10G10B10A2_UINT)<br>
SF( Y, Y, x, x, x, x, Y, x, x, x, x, x, R10G10B10_SNORM_A2_UNORM)<br>
SF( Y, Y, x, x, Y, Y, Y, x, 60, 70, x, 90, R8G8B8A8_UNORM)<br>
- SF( Y, Y, x, x, Y, Y, x, x, 60, x, x, x, R8G8B8A8_UNORM_SRGB)<br>
+ SF( Y, Y, x, x, Y, Y, x, x, 60, x, x, 100, R8G8B8A8_UNORM_SRGB)<br>
SF( Y, Y, x, x, Y, 60, Y, x, x, 70, x, 90, R8G8B8A8_SNORM)<br>
SF( Y, x, x, x, Y, x, Y, x, x, 70, 90, 90, R8G8B8A8_SINT)<br>
SF( Y, x, x, x, Y, x, Y, x, x, 70, 75, 90, R8G8B8A8_UINT)<br>
@@ -151,9 +151,9 @@ static const struct surface_format_info format_info[] = {<br>
SF( Y, x, x, x, Y, x, Y, x, x, 70, 90, 90, R16G16_SINT)<br>
SF( Y, x, x, x, Y, x, Y, x, x, 70, 75, 90, R16G16_UINT)<br>
SF( Y, Y, x, x, Y, Y, Y, x, x, 70, 90, 90, R16G16_FLOAT)<br>
- SF( Y, Y, x, x, Y, Y, 75, x, 60, 70, x, x, B10G10R10A2_UNORM)<br>
- SF( Y, Y, x, x, Y, Y, x, x, 60, x, x, x, B10G10R10A2_UNORM_SRGB)<br>
- SF( Y, Y, x, x, Y, Y, Y, x, x, 70, x, x, R11G11B10_FLOAT)<br>
+ SF( Y, Y, x, x, Y, Y, 75, x, 60, 70, x, 100, B10G10R10A2_UNORM)<br>
+ SF( Y, Y, x, x, Y, Y, x, x, 60, x, x, 100, B10G10R10A2_UNORM_SRGB)<br>
+ SF( Y, Y, x, x, Y, Y, Y, x, x, 70, x, 100, R11G11B10_FLOAT)<br>
SF( Y, x, x, x, Y, x, Y, Y, x, 70, 70, 90, R32_SINT)<br>
SF( Y, x, x, x, Y, x, Y, Y, x, 70, 70, 90, R32_UINT)<br>
SF( Y, 50, Y, x, Y, Y, Y, Y, x, 70, 70, 90, R32_FLOAT)<br>
@@ -167,7 +167,7 @@ static const struct surface_format_info format_info[] = {<br>
SF( Y, 50, Y, x, x, x, x, x, x, x, x, x, L32_FLOAT)<br>
SF( Y, 50, Y, x, x, x, x, x, x, x, x, x, A32_FLOAT)<br>
SF( Y, Y, x, Y, 80, 80, x, x, 60, x, x, 90, B8G8R8X8_UNORM)<br>
- SF( Y, Y, x, x, 80, 80, x, x, x, x, x, x, B8G8R8X8_UNORM_SRGB)<br>
+ SF( Y, Y, x, x, 80, 80, x, x, x, x, x, 100, B8G8R8X8_UNORM_SRGB)<br>
SF( Y, Y, x, x, x, x, x, x, x, x, x, x, R8G8B8X8_UNORM)<br>
SF( Y, Y, x, x, x, x, x, x, x, x, x, x, R8G8B8X8_UNORM_SRGB)<br>
SF( Y, Y, x, x, x, x, x, x, x, x, x, x, R9G9B9E5_SHAREDEXP)<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.9.3<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></div></div></div>